Base your shoe purchases on the type of running that you will be doing (easy, up tempo, trail). When buying your first shoes, go to a running store for a gait analysis and expert advice. Buy shoes you can try out and return if they‘re not the right fit. Only use your shoes for running, and consider rotating pairs of shoes.
Alan Orcharton is a marathon pacer and a go-to resource on running shoes and gear.