As with all sports, appropriate training and warm-up drills are protective against muscle and tendon injuries in particular. Ankle strength is helped by balancing type or “proprioceptive” exercises, which help prevent accidental inversion of the ankle during play. The most important thing is to avoid re-injury from rushing back into play when not fully recovered.
To give yourself the best chance of avoiding injury, you need to have good movement control around the back, pelvis, hip, knee, ankle and foot. It is also important to have a good level of cardiovascular fitness too, as you're more likely to pick up injuries as you fatigue.