I'm 12 years post op, but I remember that pain.
I stretched out the percocet and vicodin for about 1 or 1.5 weeks I think. It prevented pain, but I couldn't poop for a week.
Maybe they can give you some pain meds for it. One thing I wish I had done during my initial recovery time is to take vitamin D and Calcium supplements to speed up recovery. I didn't relize how vital those were at the time, but you're indoors recovering and not getting enough sun, and yet you need that vitamin D and calcium to heal.
Those supplements along with excercise, rest, and good eating will help you heal fast and strong.