You stop a dog barking too much by bringing the baseline down, taking away the rehearsal, and making sure the bark stops working. Barking is a symptom, and it has more than one cause. A dog who barks at every sound is often over-aroused and under-rested. A dog who barks for attention has usually learned it works. A dog who barks at the window is rehearsing a reaction many times a day.
The fix is rarely a quieter command. It is bringing the waterline down so the dog is not primed to go off, removing the rehearsal where you can, and making sure the demanding bark gets nothing while the settled dog gets what they want.
Reading the dog matters here. Owners who can see the lead-up, the ears, the weight shift, the head turn, can interrupt before the bark, not after.
Try this week. For a week, block the window view your dog barks from, with film or a closed door. Every bark at the glass is a rehearsal. Take the rehearsal away and pair it with more rest and real play, and the habit starts to fade.
Part of the full guide: How to get a calm, well-mannered dog
New puppy? The Good Puppy Blueprint is the online program for puppies under twelve weeks. For a dog over twelve weeks, private training works it through one-on-one.