What I tend to do if I get urges is I distract myself in videos online or gaming. But I haven't had urges to self harm in a while now so it hasn't been needed, but I wish you luck with stopping and with whatever else that may be going on in your life.