This common problem can result from:
Flat feet -- when the impact of a step makes your foot's arch collapse (your doctor will call this overpronation)
Shoes that don’t fit well or provide good support
Working out without warmup or cooldown stretches
Weak ankles, hips, or core muscles
How do runners deal with shin splints?
Most cases of shin splints can be treated with rest, ice and proper footwear. Take a break from your walking or running workout to give your shins time to heal. You can remain active by exercising with non-weight-bearing exercise, like swimming or biking, if it doesn't cause pain. Icing the shins can decrease pain.
They often heal on their own. If you see a doctor, expect to get a thorough physical exam. They may want to watch you run to look for problems. They might also take X-rays or bone scans to look for fractures.
Rest your body. It needs time to heal.
Ice your shin to ease pain and swelling. Do it for 20-30 minutes every 3 to 4 hours for 2 to 3 days, or until the pain is gone.
Use insoles or orthotics for your shoes. Shoe inserts -- which can be custom-made or bought off the shelf -- may help if your arches collapse or flatten when you stand up.