You may need to stay in bed for many days following your hip replacement surgery. You will be able to walk under proper medical supervision after your doctor determines that it is safe for you to get out of bed based on your overall condition. If you can walk successfully, you may be moved to a rehabilitation center.