Ways to make sex feel more comfortable?

When I don't give my SO sex when he wants it he gets mad and starts being mean to me☹️ I'm 31 weeks pregnant and have a 2 year old I'm just never in the mood and it always hurts. How can I make it more comfortable so I can enjoy it ?