Sex in last weeks of pregnancy

So the hubby and I have been having sex and we are in our last week of pregnancy before we are induced next week.

We want to continue having sex but doggy style and laying on my back is painful, I hate getting on top because my husband loses his erection if I’m on top, he says it’s gravity but I think other wise.

Idk what to do and I need some advice!!