+1 on a regular weight training routine reducing joint pain, and of course keeping supporting muscles and ligaments resilient.
Also highly recommend supplements: a/ a good joint supplement containing glucosmine, chondroitin, MSM, etc.; b/ Fish oil capsules, plus lots of food sourced EFAs. When first starting these supplements it takes a few weeks to feel the benefits, then you’ll never want to stop using them.
Doing most running on trails instead of pavement helps greatly as well.