BF moved out, idk what to do.

Matraca
I don't know what to do. I know it's for the best that by BF is no longer living with me, but I don't want him to ignore our baby. He doesn't know that I'm pregnant. He thinks it's ok to call/text his ex GF, he thinks it's ok to call me names, put his hands on me, and be an absolute dick. He just told me that I probably did something to piss him off for him to do those things to me. But then I think of the good times and I just want those back. I don't understand how he can be happy living with an alcoholic, playing video games all day, and snorting oxys. We had a good life in our own place. I'm 5 weeks, 4 days today.