There are several different techniques, training mechanisms, and products on the market which can be used to get your dog to stop barking. One of the methods which many trainers and professionals consider is using a dog horn to get dogs to stop barking. Not only are they small enough and compact enough that they can be used at a home setting, but you can also take them out to a dog park, or other locale, where you may want to train your dog.
When using a dog horn to get your dog to stop barking, you will find that there are a few different ways to make use of the horn. Just as you would use treats to reward them after following a command, or use a shock collar or clicker to get your dog to listen to certain commands, when using a dog horn to get them to stop barking you have to use it on certain occasions only, as opposed to every time they bark. After making use of the horn for a certain period of time, the dog is going to realize that you sound the horn when they are barking (and should not be). So, whether you use it during the evening, or when you have neighbors over, or any other time you do not want the dog to bark, over time this is going to register (the horn sound means they should not bark).
Dogs are extremely smart creatures; for this reason, trainers, professionals, and owners find that using a certain mechanism to get them to stop (or to do) certain actions is simple to do over a short series of time. Not only will using a dog horn to get your dog to stop barking teach them that the barking is an annoyance, or is something they will be punished for, but the dog is also going to learn the situations when it is acceptable for them to bark, and when they should not bark.
For owners (and trainers) choosing to use the horn to teach dogs to stop barking, it should be done similarly to the manner a clicker would be used, or treats would be used. If using a dog horn to get the dog to stop barking you will sound the horn after an unwarranted bark; doing this several times is going to allow the horn sound to register in the dog's mind with unwarranted behavior (or something that they might be punished for).
Regardless of how old your dog is, what kind of breed they are, or which other mechanisms you have tried in the past, a dog horn is something that might do the trick if you want them to stop barking. Over a period of time your dog is going to associate the horn sound with punishment, and they are going to cease the barking. So, not only will you properly train them, but you will find that, after a short period of use, the horn is going to eliminate barking, and will teach your dog the situations they should not bark.