What would you do if your husband always had an excuse to not want to be affectionate or have sex ?

Mandi • Married in March ... Just found out pregnant in October
Ever since me and my husband have been married over two years ago our sex life has been slim to nothing he barely pays attention to me give me complements are as affectionate and also always has an excuse not to want to have sex never tries always denies what would you do?? During my pregnancy the doctor kept saying have sex to help bring on labor and he still didn't want to. Even though I was almost 2 weeks late and was scared of having Pitocin.