Surgical interventions are considered when pharmacological treatments are ineffective or when a more definitive solution is required. Common surgical procedures include laparoscopy for diagnosing and treating endometriosis, hysterectomy for severe cases of uterine fibroids or cancer, and myomectomy to remove fibroids while preserving the uterus. Surgery is also an option for treating ovarian cysts that do not resolve on their own.