You might be a good candidate for total ankle replacement surgery if you’ve tried nonsurgical alternatives and nothing’s working to resolve your pain or lack of mobility. Alternatives include exercise and weight loss and medication, including cortisone shots.