i had shin splints the first year i ran , about a decade ago.
I never stopped but i certainly reassessed my way of running. Simply put, i experimented while running till i found a way to do it without pain in my shins.
The top trick for me was to vigorously massage the front of my lower legs up and down prior to running, as well as ankle exercises ( twisting them in any angle possible ). I also stretched a lot, went running on trails mostly, and not landing ever on the tip of my fee as i felt it was stressing my shins terribly.
After about 6-8 months, i was fine.
It never came back.
Understand that this was my personal experience and method to deal with it. I have no professional pretense and would rather advise you to approach a coach from a local running team/club.
Good shoes are vital of course. I ended up with a fibula stress fracture in 2003
from neglecting to renew my shoes. I was not getting enough support and tried counterbalancing by running on the outside of the foot.. most stupid mistake ever. 4 months without running, fortunately the doctor told me i could still bike.
so, that saved me.