Some of my information in this article came from this resource: Shannon Clark, a certified AFLCA Personal Trainer with a Bachelor of Science in Sports Performance, specialty in shin splints/tibial stress syndrome

Developing the best defense from shin splints (tibial stress syndrome or TSS) simply means exercising the right muscles so you not only heal the current pain, but strengthen all the ligaments and muscles surrounding the knee and lower shin. This essentially injury-proofs your shins. If controlling and treating shin splints is important to you, then you really must learn the information needed to understand what this injury is all about and how to treat it when it happens.

If you’ve been affected by shin splints, known to sports med professionals as tibial stress syndrome, you know just how annoying and painful this injury can be.  Not only does it flare up when you’re out for a run. But after a while, it will also begin to bother you when you’re doing simple activities such as walking, standing, or even just putting mild pressure on the affected area.

One mistake many people make is treating the pain, but not treating the underlying cause and condition. That is the key. No magic pill will help you but knowledge and some follow up will help you get rid of them and prevent them from reoccurring.

Even when the pain you are experiencing from shin splints has disappeared, this does not necessarily mean that the cause of the shin splints has been resolved. If you hope to remain pain free from shin splints,
it’s vital you address this issue at the root level. And that means treating the cause so you do not suffer from them any more.

There are links below and some tips:

Do exercises that are known to strengthen the right muscles to prevent this from happening. Most have to do with:
Arming yourself with the appropriate information is critical to beating it.