Shin Splints

Shin splints is a condition that causes pain in the shins or the front of the lower legs. The associated pain results from excessive or repeated amounts of force on the shin bone and the tissues attaching it to the surrounding muscles. This force causes the muscles to swell (as a defence mechanism) which in turn, increases the pressure against the bone leading to pain and inflammation. 

Treatment
Wearing appropriate footwear that provides cushioning and the correct amount of support to stop excessive tibial rotation.  
Training on flat, soft surfaces.
Ice and Anti-Inflammatory medication.