Help

I don't know what's wrong with me my mind is in so many different places I'm currently in a abusive relationship and he broke up with and I hate myself because he's bad for me but he's the only person I wanna be with sometimes I wish I never meant him we always have a daughter together. I've been struggling with depression and he seems to make it worse how do I get my heart to let him go