Be consistent so you don’t confuse your dog. Everyone in your family must apply the training methods every time your dog barks inappropriately. You can’t let your dog get away with inappropriate barking some times and not others.
Barking is a completely natural behavior for dogs, but we humans don’t always appreciate it. In your dog’s mind, however, there’s a good reason to bark, so the first thing to do is figure out why she wants to bark in what you consider the most inappropriate times.
Alarm barking does not always require a visual confirmation of the perceived intruder. Some dogs may engage in alarm barking simply from hearing a car door outside or hearing voices on the sidewalk.
Rule out medical problems. Sometimes barking is your dog’s way of indicating to you that she is injured or sick. If there is a chance that your dog might have some medical problem or injury, you should take her to see a vet as soon as possible.
If your dog most often barks territorially in your car, teach him to ride in a crate while in the car. Riding in a crate will restrict your dog’s view and reduce his motivation to bark. If crating your dog in your car isn’t feasible, try having your dog wear a head halter in the car instead. (Important note: For safety reasons, only let your dog wear the halter when you can supervise him.)
The trick in getting the dog to stop barking is assessing the cause. This practically means that you have to identify why your dog barks in the first place and then see what you can do. We cannot tell you why your dog is barking. You want to try to do your best to identify the problem. If you cannot, it is time to contact a dog trainer as he can easily tell you why the dog barks.
For example, some people find success by keeping pennies in a can and rattling them when their dog begins to bark. If the dog stops barking when you make the noise and at you, you can then follow up with a come command or quiet command and give treats for compliance.
The easiest and quickest way to quiet down a territorial/alarm/defense barker is to manage their environment. By blocking your dog’s sight line to potential barking triggers, you can stop the uncontrollable barking.
Guarding: Dogs will often bark and growl when they are guarding. This bark is more aggressive. The dog may also have a stiff or wagging tail with their hackles raised. The bark is used as a warning not to come closer or they may attack to defend their space. While dogs don’t always bark before they bite, most give some kind of warning.
Separation Anxiety/Compulsive Barking: Separation anxiety and compulsive barking are both difficult to treat and should be handled with the help of a veterinary behaviorist or a certified applied animal behaviorist. Dogs with these problems often need drug therapy to help them cope while learning new, more acceptable behaviors.