Opioids are generally recommended in gynecology for:
Postoperative pain management Severe chronic pain conditions such as endometriosis Acute pain episodes, such as those associated with pelvic inflammatory disease (PID)
Their use should be tailored to each patient's needs, and they are often part of a multimodal pain management strategy.