Recovering following surgery can be challenging, and dealing with pain is a important part of the journey. Your doctor will likely recommend a range of medications to aid with this. These may feature prescription painkillers like opioids or non-copyrightal anti-inflammatory drugs (NSAIDs), plus possibly other medicines for upset stomach or anxiety.