Question: how to train your dog not to attack?
Answer: Create a Plan You should be far enough away so that your dog doesn't start to growl or snap. Then, reward with lots of treats and praise as you gradually decrease the distance between your dog and the stranger, continuing to use positive reinforcement.