I advocate having a very short leash at all times, unless the dog is sniffing to go to the bathroom. It's much easier to have your dog under control when they're right next to you, and they won't round a corner and run into something dangerous, like an aggressive dog.