A total hip replacement is also known as a total hip arthroplasty. The surgery involves opening the hip joint through an incision either on the front of the hip (anterior) or the side of the hip (posterior). The damaged surfaces of the joint are surgically removed. The joint is then replaced with metal and plastic parts. The parts are typically pressed into the bones. Both the socket of the joint (the acetabulum) and the ball of the joint (the femoral head) are replaced. This surgery may be performed with a surgical robot or computer navigation system. You are allowed to walk immediately after surgery. The surgery is commonly performed as an outpatient and rarely requires a hospital stay.