rest them for a few days and ice a lot. 30 mins for 5 or 6 times a day.
you get shin splints from the pounding that you do. dont run on concrete or asphault, try running on trails or something softer. if your shoes are really worn out you need to invest in some new ones.