Pregnant and sex

Kacey
I'm 39 weeks pregnant and my Dr said I have high blood pressure that I need to stay off my feet and relax... does anyone know if it would be safe to still have sex?