 When a woman keeps having miscarriages, infertility is present.Risk factors for miscarriage include an older parent, previous miscarriage, exposure to tobacco smoke, obesity, diabetes, thyroid problems, and drug or alcohol use.About 80% of miscarriages occur in the first 12 weeks of pregnancy (the first trimester).