Hi I’m 32 weeks pregnant and my water broke is it safe to have sex if a condom is used

Patient: Hi I’m 32 weeks pregnant and my water broke is it safe to have sex if a condom is used

Doctor: