Is there a risk of having a premature baby if I have sex throughout my pregnancy? No. Doctors have throughly researched this and will tell you that a woman in good health runs no risk of giving birth preaturely by having sex. However, if you have certain health problems your doctor might advise you against having sex throughout your pregnancy.