Metal screws are inserted into the bone to hold it together while the fracture heals. Sometimes screws are attached to a metal plate that runs down the thighbone (femur). Total hip replacement. The upper femur and the socket in the pelvic bone are replaced with artificial parts (prostheses).