Multiple miscarriages

Ti

Has anyone had multiple miscarriages? Just wondering if the doctors told you why it's happening if it was an infection, hormones, clots etc. second miscarriage in 5 months and just looking for answers to prevent It from happening again