Ensure the dog is trained so they come when you call them. If they won't, they shouldn't be off their leash in places with other dogs.