If you have a dog, pet your dog.
If you don’t have a dog, go to the nearest dog park. Walk casually along its perimeter as though you’re out for a stroll and some fresh air. Keep the dogs within your periphery at all times.
Continue your walk until you make eye contact with a dog. Stop. Turn toward the dog. Crouch down and extend your hand in its direction.