Being pregnant at 35 weeks and having a cervix dilated at 2 centimeters, sexual intercourse should be avoided. Having sex at 34 weeks can cause premature labor and will make the baby and the mother at risk. Also having sex during this time can cause infection that can harm the baby and the mother.