There are products on the market that will save your sanity and your friendship with your neighbor. These collars will eliminate excessive barking. They will not hurt your pet, but will give them a mild electrical stimulation. It is just enough to get their attention and make them understand that all their barking is not going to work. There is another collar that sprays citronella in front of your dog's nose.
Dogs hate the smell.
It is activated by the dog barking. I am just saying that this author prefers the electronic collars for quick and precise correction. There are also some ultra-sonic bark trainers that you point at the dog and it emits a piercing tone that dogs hate because it hurts their ears. Not only can you use this for barking, but also for car chasing, digging, jumping up on visitors, chewing, and whatever else ails ya. The only problem with these devices is that if you are more than a 1 dog home, you are going to punish everyone else that is in range of the unit.