There are a number of reasons your joints — especially your knees and hips — could be hurting. The pain could be a result of osteoarthritis, an old injury flaring up, too much high-impact activity, or simple wear and tear that occurs over time. If you’ve tried everything to ease your pain, it might be time to consider a joint replacement.