Help...

Guys I’m at a loss of what to do. What way to turn I’m 17 weeks with a boy. Little back history the reason I want supervised visitation and him to take an anger management class or something along those lines is because multiple times he has punched the wall right next to my head while we were together, he punched the wall next to his youngests head a couple months ago, and about 2 weeks ago he threatened to kill me while pregnant. I feel he can’t keep my son safe until he learns how to handle his anger. I don’t want to take his son away from him though that has never ever been my goal...I also don’t want inconsistency in his life though. He can’t just decide when he wants to be a dad...anybody have any advice as to what I should do? Thank you.