After or during emergency room care, the treatment for a fractured hip is a combination of surgery, rehabilitation, and medication. The type of surgery needed can depend on where the fracture is located and how severe it is. Your age and health are other factors. Sometimes the best treatment is internal repair with screws to help the fracture heal, while other times the best treatment is a hip replacement. This replacement procedure can be partial or total. With a total hip replacement, the upper femur and the socket in the pelvic bone are replaced with prostheses which are artificial parts. With a partial replacement, it's possible for a surgeon to remove a part of the femur or parts of it and install a metal replacement. Very soon after the procedure, the patient will begin rehabilitation with physical therapy, and the rehab will be focused on range-of-motion and strengthening exercises. During this period, medication can help manage pain. Also, the patient may benefit from or require the services of an occupational therapist who can teach new techniques for independence in daily life, such as techniques for bathing and cooking. The occupational therapist will determine whether a mobility device like a walker or wheelchair would help.