In reply to GDes:
Have had tweaky hamstrings for as long as I can remember.
Couple of years ago it got so bad I couldn’t come downstairs without pain, so I saw a podiatrist.
She gave me a fairly brutal calf massage to loosen up all the knots in there, and a pair of heel lifts to wear inside my shoes to take the pressure off while it settled down. Most importantly she gave me a set of exercises and stretches to be done in sets every second day.
Standing on one leg for a minute each side (if too easy, close my eyes), stand on wobble board/cushion for a minute (again close eyes if too easy) and standard calf and achilles stretches (extend leg out to back, heel on floor, lean forward pushing against wall, and achilles one where you bend leg, lift heel and make like you are perched on a bar stool.
All of these helped (initial massage was like magic - had been limping slightly for months and suddenly wasn’t).
What I found maintained it really well was going to a barre concept class weekly (lots of plies, heel raises, toe-points and targeted recruitment of specific muscle groups). Since classes ceased owing to lockdown, I’ve been much stiffer but am keeping a flare-up at bay by using elements of barre as a running warm-up (plies, grande-plies, heel raises) and beating my legs up with a muscle gun.