I definitely agree with splitimage. It is not easy and takes a long time but it is possible to overcome. I don't know if the urges completely leave but in time you can find other ways to cope and to manage them. The biggest thing for me was finding a good support network and working through my other insecurities. The more I worked through the other stresses in my life and found ways to cope with them, the less invasive the self-injury thoughts became.
Don't give up

. It is possible to get through this. It doesn't have to be forever.