Following surgical procedures, patients often experience pain. To ensure a comfortable recovery, physicians prescribe various medications. Commonly prescribed drugs include analgesics like opioids for severe pain and nonsteroidal anti-inflammatory drugs (NSAIDs) for inflammation. In some cases, muscle relaxants may be given to reduce muscle spasms.