Sending you some good
vibes. I sorry your going through a difficult time. Sometimes a little self-soothing will help. Like getting distracted in something you like to do, hot shower, special food treat, rent a favorite movie...stuff like that.
Also keep writing out your emotions about the stress, anger, disappointment...whatever your feeling. I find that helps me to do so.
Keep challenging the thoughts about using, like think them through to where you end up emotionally and physically distressed if you used.