2. Opioids For more severe pain, veterinarians may prescribe opioids like morphine or fentanyl. Opioids are potent pain relievers and are primarily used in the immediate postoperative period. While effective, they can cause side effects such as sedation, constipation, and potential respiratory depression. Careful monitoring is essential when using these medications.