There may be certain situations where one has to abstain from sex or be careful while having sex. Such restrictions are based on the following circumstances:
In a case of vaginal bleeding or spotting in early pregnancy, or a history of preterm labor, signs of pre-term labor. If there is a history of miscarriages, then the doctor may advise not to have sex until 14 weeks.