Usually resolves in one to two weeks if the RICE routine is followed. If the pain does not resolve, the problem could be a tibial stress fracture which is also from overuse.
Rest the injured muscle Take a break from running for 7 to 10 days.
Ice the injured area to reduce swelling.
Compress the muscle with an elastic bandage.
Elevate the injured leghttp://www.intelihealth.com/IH/ihtIH/WSIHW000/9339/31204.html
The article recommended seeing a physician if it is painful to walk or if the pain has not resolved after two to three weeks