Please help?

Me and my boyfriend have been on and off since late September. We all always fight like we fight 5/7 days of the week. He recently started getting physical, last night he broke down my bathroom door because I was taking too long. Ive gotten slammed up against a wall several times he’s kicked me, punched, slapped. He’s even went as far as breaking glass on my head. I don’t want to have a relationship like this but I’m pregnant and I don’t want my child growing up without a father or without knowing her father but I also don’t want her abused or me abused. I just find it so hard to leave I’ve tried leaving him and he just says things to convince me to stay. If anyone has been in this situation before please let me know how you got out of it.