Patients may undergo surgery to restore function or to relieve pain and sometimes to introduce prosthetic joint replacements for better mobility. A plan of therapy is developed in conjunction with the patient and a multidisciplinary team.