To stop your dog from barking at strangers, let it bark 3-4 times, then stand over it and calmly give it the command, “Quiet.” Go to your dog and gently hold its muzzle closed with your hand and say “Quiet” again, then release its muzzle and step back.