First, using continuous autofocus (also known as AI Servo or AF-C) is a good option. This mode tracks the movement of the subject and continuously adjusts the focus as they move. This is particularly useful for sports photography where the subject is constantly moving and changing positions.