Alex has it, but here's some more reference material. Runner's World magazine has very good information on common injuries such as shin splints.
Here's one. Do a search on "shin splints" and you'll get a lot of information there. The key is to rest first, then add some exercises to strengthen and stretches to help prevent the same injury in the future.