Baby Daddy being a jerk

So my partner of 5 years and father to my son and baby number 2 on the way has told me tonight if I don’t start putting out more he’s going to start coming home less. I’m 20 weeks pregnant and absolutely exhausted after working full time and dealing with our almost 3 year old as well. I have no sex drive and feel he should be more supportive. Part of me feels like telling him not to let the door hit him on the arse on the way out but the other part of me is just in shock that he even said it. He’s truly serious and it’s not the first time he has said this to me. What do I do?