Stretching will help, but in the build up, only jog on soft surfaces such as grass and sand. Also look at your running style, sometimes that is the culprit. Of you join a running group, they will have someone to correct your technique.