Coach Nicole of sparkpeople.com leads you through a short (3-minute) routine of lower legs stretches for the calves and ankles. Take a look at this video to learn different stretches and exercise using a wall. These stretches are great for people with tight calves or weak ankles in general, but may also help prevent and manage shin splint pain. Here are some shin splints prevention tips.
To stretch your gastrocnemius calf muscle, place your foot against the wall. Use your hands for support. Your opposite leg can be slightly bent. Imagine a nice straight line through the leg being stretched. This will produce an even tension and stretch, through your leg. This stretch sensation should be light to moderate. Breathe and relax into this, and hold for 45 to 90 seconds. You should now feel a nice release through your gastrocnemius calf muscle.