In severe cases of endometriosis, surgery to remove the uterus and cervix (total hysterectomy) as well as both ovaries may be the best treatment. A hysterectomy alone is not effective — the estrogen your ovaries produce can stimulate any remaining endometriosis and cause pain to persist. A hysterectomy is typically considered a last resort, especially for women still in their reproductive years. You can't get pregnant after a hysterectomy. A hysterectomy is a surgical procedure to remove the womb (uterus) where the womb is removed through several small cuts in the abdomen laparoscopically.