Glad you were able to get away. For me, it depends on how close the dog is. If it's far enough away, I'll look for a fence or tree or something that will keep the dog away from me. If it's too close, I'd probably stop and stay standing. I'd probably face away from it, though. I always thought that you weren't supposed to face or stare at a wild animal because it will think you're challenging it, making it more likely to attack?