don't be so hard on yourself. You are recognizing now that you made a mistake, and that is all that matters. Hopefully you can learn and grow from this experience. I'm sorry that you've been through so much pain.
I agree with Jazzy, the most important thing you can do now is to remove yourself from this situation and start taking care of yourself.

best of luck