What I have learn't in the last 18 weeks after having both hips replaced:
Take the painkillers, as much as required to do the Physio, you are not a hero for not taking them, you need them for the physio.
Do the Physio (take the meds), every day.
Rest, among sitting/lying around, I did a straight 2 hours on my back every afternoon trying to keep the hip joint as straight as possible for as long as possible. At the beginning this was less than a minute, but increased to the full 2 hours after 8 weeks.
Don't overdo it, listen to your body, if its painful don't do it, it will come back to you with time and healing.
If you are having second one done in the future, keep a log each week of your progress, its very good to measure progress the 2nd time against the 1st.
Ignore all the BS about people having very little pain after the Op, especially those who had it done a few years ago, they've just blanked that part out. You won't be walking normally or without pain after a week!
If like me you managed to keep the muscle tone and fitness levels up before the Op, then you may find yourself back on the bike after 4 weeks for some gentle riding.