The right set of exercises can be a long-lasting way to tame ankle, knee, hip, or shoulder pain.