There are many tools that you can use to get your dog to obey. The best thing to use is a bark collar. It will deter the barking but also teach your dog in a positive way that it shouldn’t do it in the first place.
A clicker is another great example of a tool you can use. It lets your dog learn by positive reinforcement rather than negative reinforcement. The clicker can be used with your dog’s favorite treats to teach him all kinds of tricks and commands.