Tips Needed

I feel really weak because I had been clean for half a year. Lately I have been self harming and I need to stop but I can't. I am worried I will spend my summer in a hospital so does anyone have any tips to stop?