@Kitchendrama1
I’m not a dog owner but I just felt really uncomfortable with the barks and starring
Ah right OK. Firstly dog owners can be a pain in the arse and should keep their dogs on a lead out in public. It's not fair or at all reasonable to expect or think it's enough to say their dog is friendly and that you're being soft "Look at him he's only wagging his tail / not being aggressive he just wants to play"
There's no fear like that when you are scared of dogs and if you're not used to them, it's almost impossible to distinguish friend from foe when one is bounding towards you.
What might be useful for future reference is how to react to any dog that's barking and coming towards you or making you feel scared which is a simple, effective thing being stop and stand perfectly still. Lot of dogs are triggered by someone or something running away from them and any screaming, flailing and panic heightens their excitability and makes them chase more.
What gets old really fast is when the thing stops, stands still and looks away in the distance. You're “meh” and they're likely to walk and leave.
There's a safety campaign that's been in the US for a while now teaching kids to “Be a tree” and some schools practice it. My only advice that differs is I recommend folding and tucking hands underneath your arms rather than keeping hands down by the sides. It's a strange one for me to read that because having your hands down by yours sides puts them in easier reach.
Stop – stand perfectly still with your arms tucked up and away – look off in the distance like you haven't even noticed there's a dog there.
More often than not you will find a dog stops barking and quickly gets fed up of you.
doggonesafe.com/Be-A-Tree
Sadly you can't do much about thoughtless and selfish dog owners that take the attitude “He's friendly! He's only playing!” and expect everyone should tolerate the fact they have no control over their dog and expect the world to be OK with it. It's a pain in the arse.
The “Be a Tree” is a good place to start for general reference though :)