The number one rule still exist.
As long as your dog hasn’t got a mental disease or ultra aggression, a big long park run each day off lead goes a long way to making the dog happy, more settled and less likely to bark.
It is also the state you need them in to remember not to bark, to listen to your training
2 Teach your dog to be “quiet”
As intuitive and obvious and annoying as this advice is, its what you have to do.
Barking can be stopped, besides giving them exercise, by dog training.
I don’t use this technique but I know many dog trainers do this.
FIRSTLY they teach their dog to SPEAK or bark on command.
THEN they give the dog the worlds tastiest treat after they have barked a few times. Not out of control but 2 or 4 good barks.
The treat should stop the dog barking as it has something interesting to smell.
Praise the dog give them the treat and let them enjoy it.
Train your dog like this to bark or SPEAK on command.
The reason that you have done is apparently is so that when your dog starts barking under command, you can also interrupt it by saying QUIET and putting a treat in front of its nose.
If yo9ur dog is happy and seeing a fun game and way of getting food, they will often comply. They will hear the words to be quiet, then stop then eat, be praised and be happy.
in theory you have taught the dog to bark, and taught them to stop.
This of course only works while you are with your dog, but can be a great way to training them at important moments such as when someone is on the phone or at the front door for your dog to be obedient.
2 Give your dog for an incompatible behavior command
This has worked very well with dogs I have trained and my own dog.
For some reason a dog I engage with regularly likes to bark frantically if I stop in a park for too long, talk to others or seem to ignore them, when they aren’t in the mood for playing with other dogs.
This technique requires that you have control of the dog using other commands. If you can get a dog to sit, lie down or somehow else follow a command 100% of the time, you will often find that a dog struggles to bark when following that command.
I reward my dog for sitting (when he has been barking out of control) and the thought and submissiveness of what they have done usually stops them barking. It doesn’t reward their bad behavour but has stopped their thoughts and rewarded them for sitting instead.