I agree that you need medical attention, and I hope that you will go and get some help, if you haven't already.
But I also think that seeing a therapist might be useful to help you explore why you are sabotaging yourself in this way at this moment.
Wishing you all the best
*Willow*