Really need advice I’m so lost.

My boyfriend of almost 7 years has been verbally and emotionally abusive for about a year now. We have a two year old and I’m pregnant again due in June.. he called me a self centered bitch and yanked the back of my hair the other day because I accidentally fell asleep on the couch. That was the first time he put his hands on me out of anger like that.. now I’m talking to him and he supposedly doesn’t remember doing that so it made me certain he has abusive tendencies and I need to get me and my son out as soon as possible. The thing is, I’m going to have to take at least 3 weeks off to recovery from labor AND I need to get surgery shortly after that which will be another 4-6 week recovery. I’m going to apply for assistance and try to get on income based housing but without a job what am I going to do about the other living expenses? Like soap, clothes, shoes, dishes, things like that.. I also was going to start online school May 7th but I can kiss that goodbye because there’s no way I’m going to be able to focus on my studies without any help with my babies. I feel like my life is over and ruined. Seriously I don’t know what to do. I feel like I’m going into an anxiety attack as I type this.