Tips for leaving my abuser?

I am in love with him of course. He is the father of both of my children and he is my best friend of 3 years. But he is abusive in every form. Emotionally, physically, you name it. I know I am with him still after all he does because of trauma bonding. How do I separate my feelings of being his friend and stop it from keeping me with him so I don’t end up dead?