If your shins still hurt after several weeks
, then go and see a physician to have it checked. If you're unlucky, it might be periostitis
which could take several months to heal. And even after it's healed your shins may be sensitive and prone to getting it again in training.