1. Close the curtains or blinds so the dog cant see who is outside.
2. Distract the dog with a toy or treat.
3. Teach the dog a quiet command and reward it when it stops barking.
4. Desensitize the dog to the trigger by gradually acclimating it to the stimulus.
5. Exercise the dog regularly to reduce its energy levels.
6. Speak calmly and firmly to the dog when it barks.
7. Use a citronella collar or a sound-emitting device to interrupt the barking.
8. Speak to the person outside to let them know youre aware of their presence.
9. Train the dog to associate the presence of people at the door with positive things.
10. Consult a professional dog trainer or behaviorist for help.