Undergoing a total hysterectomy may be necessary due to conditions such as cancers, adenomyosis, uterine prolapse, fibroids, and persistent heavy menstrual bleeding. These conditions may require removal of the uterus for treatment.