These 'urges' to do things we know aren't healthy or beneficial to our growth will reoccur from time to time, and it is vital we figure out what works best for us. There are many ways to go about this, and everyone has unique approaches that work for them, and I think ultimately- the greatest protection we have, is having a steady support system around us! Whether it is comprised of 7Cups Listeners you know and trust, your therapist and maybe a friend, or whoever! But nurture these relationships, just as they will, in turn, nurture you. The second most important thing, in my opinion, is recognizing what precedes these dire moments. Being aware of how our mind feels before it stacks that high, can help us alleviate some of the tension/fear/worry before it gets so far we're put into this state of mind where, we're totally panicked and feel out of control.
The third thing- notice who you have around you. Whether it's your family/roommates at home, or your co-workers or boss at work, are you around positive or toxic energy? When we're surrounded by anyone consistently who constantly drains at our energy, we need to re-evaluate our circumstances. Our threshold could be constantly under attack, and so, in those moments we feel the pressure to succumb to old habits, we really should find patience for ourselves- like an aware mother with an exhausted child.
These things are really just preventative measures. If you're in the heat of the moment, what helps me is: (1) getting some fresh air, (2) taking some space to myself, (3) going for a drive or walk, (4) hiding under a comfy blanket, or (5) and allowing myself the space to cry until I fall asleep.
When it comes to self-harm, what helped me the most was drawing or painting on myself- w something non-permanent and non-toxic. It gives you something to fixate on, allows you to healthily alter your body and then you have something beautiful on yourself to admire.