strength training helps a lot in preventing injuries. I've been through years of achilles tendonitis and finally got rid of it mostly by doing leg/calf strength exercises.
Fwiw, here's some example exercises for Achilles: https://routineshub.com/public/1faae50e-8d36-4eec-84ee-ae3ef...