Thankfully, I've never had to go through surgery even though I've probably needed it once or twice. So, I'll just put the worst one that I've dealt with as a provider to a patient besides the obvious amputations and whatnot.
So I had this one patient who had a hemorrhoid removal surgery done about a week or so prior to coming in to see us. He had been in immense pain and his narcotic pain meds weren't helping. The pain was coming from a combination of rectal pain and constipation. Apparently, last time he used the bathroom was once a day or two after the surgery.
He had been taking his pain meds religiously, but we found out that he never took any of his stool softeners because he felt he didn't need it. Too bad for him, he didn't realize narcotics clog you up and makes your bowels not work 100%. So he was doubled over, sweating and groaning in pain (he wanted to scream, but didn't want everyone to think he was a baby), telling me that he just wanted to poop. He also said that he tried taking the stool softeners (too late), tried digital disimpaction, and didn't want to tell his wife where some of the spoons/butter knives went off to (he was REALLY desperate).
So we give him IV fluids and pain meds, and that only helps a little bit. An enema didn't make a dent in the impaction. After staying with us for several hours, I think he finally went up to the MSU. Dunno if he had to go to the OR afterwards, because I rarely follow my patients when they leave us unless it's something really unusual/life-threatening.
So yeah, moral of the story, take all the meds the doc tells you to take after a procedure or else you might end up being butthurt.