I'm so sorry you've had such a scare. I can relate to your fears. I've had dogs from chihuahuas to pitbulls confront us on our walks. Avoiding them by completely crossing the street is my best choice. That is assuming they are on leash with an owner. Occasionally there are some dogs that either escape their homes or allowed to roam at night. I always carry a can of compressed air and it has worked a couple of times. I just spray into the air and the sound seems to put them off. Don't know if it works on all dogs but so far it has given me time to walk away from the situation. You will get over it but it may take time. I had two pitbulls follow me home when trying to walk my dogs. My stomach was in knots all the way home and I just collapsed in my husbands arms in shock and I couldn't stop crying. Took me two weeks to muster up the courage to walk with them again but I did not want to make my dogs suffer because of my own fears.