How to get my partner to show respect towards me?!?

My whole pregnancy I felt like I was alone. My husband was busy talking to other girls and I’d tell him over and over to stop it. I felt like leaving but I was always told to stay and try to work it out because I was having his baby. He stopped talking to other girls after I showed him divorce but now it seems like he with me by force. Everything he has to say about me is bad all he does is complain about me. I don’t even know if I should confront him about how he talks about me. He makes me feel bad all the time and when I gave him a way out he didn’t want to divorce because he loves me but why doesn’t he know how to show it?