 This randomized clinical trial studies epidural anesthesia within an enhanced recovery pathway ERP in reducing pain in patients undergoing gynecologic surgery. An epidural analgesia pain relief is a small tube placed in the lower back that numbs the nerves and stops the feeling of pain. It stays in place for several days after surgery and may be helpful for pain control in patients with gynecologic cancer after surgery. ERP is a set of specific steps used before, during, and after surgery by health care providers to care for patients after surgery. ERPs include patient education, not using laxatives before surgery, increasing activity after surgery, and scheduled use of medications for pain and nausea. Giving epidural anesthesia as part of an ERP may improve pain control in patients undergoing gynecologic surgery. 