Slow single leg heel drops.
Fore foot raises with your back and butt against the wall and feet about the length of your foot away from the wall.
The above are preventative strength exercises that should be done when you aren’t currently feeling shin splint pain.
Make sure it’s not a stress fracture.
Rest and stretch the lower legs muscles.
Reduce how long and how often you run for a while after your pain stops.
The study shows that this strategy is only half effective.