I'm sure someone will come alone with better advice...

The one I can think of off the top of my head right now is when a dog is barking use a squirt bottle and spray them (aim at the tip of the nose) and say "No Bark."