A laparoscopy (keyhole surgery) is used to diagnose the condition and, in severe cases, remove or destroy the unwanted tissue. This type of surgery will relieve symptoms and sometimes improve fertility. However the problems can recur if there is any endometrial tissue left behind. Your doctor may recommend hormone treatment before or after surgery to avoid this.
A hysterectomy is an effective surgical treatment for endometriosis, but it is a major operation and will leave you unable to have children.