The timing for when you can return to work, drive, and exercise varies from person to person and depends, among other things, on the extent of the surgery and the condition of your hip. Before you are discharged, you will receive guidance on how to gradually resume your activities.
You can usually return to work after 4-6 weeks if you have an office-like job, but it depends on the type of hip surgery. If you have a more physically demanding job, you may need to stay off work for several months.
Cycling on an exercise bike can be resumed immediately after surgery and road cycling after 6 weeks. Running can typically be resumed after 3-4 months. Skiing, contact sports and similar activities often take 3-6 months before you can return to them.