Dogs bark for a variety of reasons including warning, defense, boredom, stress, excitement, or simply because they want some attention. Barking is often just a symptom of some other issue. The best way to stop dog barking, is to identify the root of the barking behavior, and address it at the source.