If your dog doesn’t respond to their name, don’t keep saying it over and over again as they’ll be confused and might learn to ignore it altogether! Try being a little more animated and exciting, but not so much that they become confused or worried, and move a little further away from them to encourage them to see where you’re going and then reward them when they look at you!
Be careful to always reward good behaviour and talk to your dog when they’re being good, so that you don’t fall into the habit of only giving your dog your attention when they’re doing something you’re not happy about. They should always enjoy having your attention!