My approach is to listen to my body, and that healing happens more fully through reasonable activity than sedentary. I had an appendectomy in September 2014. I just reviewed my pictures and here are the dates for what I started doing after (and I had zero complications):
September 19: Surgery
23: began hiking two miles
24: Hiked 6 miles, significant climbing.
28: Biked 20 miles, single speed, significant climbing.
Your milage may vary. And I suspect that timing was very much against doctors orders. My wife just told me his orders were "no strenuous activity for 4 weeks". I took it easy, and didn't do anything I considered strenuous for 4 weeks. Definitions may vary. Grin.
Things I keep in mind:
dull pain: generally good, using something and promotes healing
sharp pain: generally bad. Slow down or stop and assess.
With abandon,
Patrick