There are multiple stretching exercises on Pinterest to aid/avoid shinsplints.
The one I use and that works for me is to stand on a step with your toes hanging over the edge and knees bent (similar to a ski position) and flex your toes up and down as quickly as you can for 30 seconds. Repeat 3 times.