I'm 76, do yoga and lower back stretches 2-3 times a week. Stretch the quads and hamstrings after a long ride. I've had issues with restless leg syndrome and find that stretching, foam roller, and magnesium supplement helps immensely.
Cramps are a different story. I'd make sure to be hydrated and maintain an electrolyte balance with a sports drink or supplement.