Help mommas

I’m 32 weeks is it okay to have sex. Even if I was givin a shot to stop contractions. Doctors didn’t say anything about it nor did I ask. But momma has needs