​The main risk factor is a positive family history (having a family member affected by endometriosis).