I have written much about keeping on top of pain. In my husband's case, with 8 incisions from his robotic surgery, his neck and tail bone are more sore than the incisions!
That said, you have to be relaxed and comfortable, in order to heal. He's been walking about a bit. I've been writing down when he takes his pills, since it is easy to forget. Also, he has to take bowel softeners. He didn't