A hysterectomy is a surgical procedure to remove the uterus. It can be used to treat a variety of chronic pain conditions, cancer types, and infections.