A dog whistle? They come near, just blow it really hard and scramble their brains a bit. Other than that, you can't really do much to stop a dog's nose. They have over 40,000 more scent receptors in their nose, not to mention an olfactory lobe that is ten times larger than a humans.