How is endometriosis treated?