I actually used to really like dogs as a child. in my home country, dog ownership wasn't super common (esp in the 1990s) but the dogs of my friends and family were usually super docile and lovely, I remember playing for hours with a lovely husky owned by my cousin's husband.
But now I am actually quite scared of a lot of the dogs I see in the park. This is because many of them bark at me very aggressively, I have had dogs jump at me, I have gotten nipped by a friend's dog (who was never trained). Its not a very serious fear, there are some really lovely dogs, but I find myself feeling quite apprehensive when dogs approach because I feel like I don't know what they are going to do (are they going to bark so loudly that my heart literally drops, are they going to nip, are they going to lick, are they going to get near my legs?). I would like to get over this as there are many dogs in my local woods/park and i don't want to be afraid of them. Any tips.