Welcome to Psych Central (PC). Sorry to hear you have been suffering from self harm. Many people try a psych doc and with meds. Staying on the meds keeps them on a balanced, grounded place. Some people at PC will find a therapist will also help them sort out the roots of their life.
Getting sleep may be the single one thing that keeps me in balance. If you are not sleeping or having bad side affects, contact your psychiatrist and tell him what is happening so you can make adjustments.
I find that mindfulness (meditation without the religion) and breath awareness help me cope with stress.
Many people find compassionate, caring people here at PC. Some people find the forums give them the compassion and empathy they seek.
http://forums.psychcentral.com
There are articles that go into more detail about coping with self harm.
Psych Central - Search results for Coping with self harm
Please feel free to private message any of the Community Liaisons by left clicking on the name in blue to the left of their post) for questions or just to share.