You can best prevent shin splints (a term that encompasses many lower-leg pains) by wearing proper footwear, gradually increasing your training volume, and practicing strength training.