How to get children custody?

Me and my husband been mutualy divorced and have 2 kids and third on the way. He earns and am a house wife but been in a abusive relationship how can I get kids custody when he is strong and threats me to leave the house . Please advice.