When other treatments fail, options like total knee replacement can restore function and relieve pain.