Barking although an instinct and an everyday occurrence for your dog is not always appropriate. There are very humane ways to end excessive barking with only a few hours of simple training.
Barking is a dog’s instinctive means of giving a warning and it would be against your best interest to discourage it. However, once you have been alerted, your dog should realize that his job is done. So select a word of praise, such as “Good Dog” or “Okay”, or command such as “quiet”, and give your dog a pat to indicate that he must now be still.
Hysterical barking such as during a thunderstorm, can be treated by reassurance, companionship, distraction, and if all else fails help calming aids or a rechargeable anti bark collar. Barking at a strange object can be quickly stopped by showing him that there is nothing to fear.
Barking from boredom or in order to attract attention is best treated by eliminating the cause. If you give your dog plenty of attention and exercise, you can insist on quiet behavior the rest of the time. Obedience training is of great indirect benefit due to the self-discipline it imposes and the mental and physical activity it provides.
Whining, barking, or howling when left alone should not be tolerated. It is easier to prevent in a puppy than it is to correct in an adult dog. However, even a lonely barker can be cured in an afternoon or evening if you arm yourself with patience, calm, assertive energy and consistent correction.
You must pretend to leave your dog alone, telling him to “Guard the house”, and that you will be “back soon”. As soon as your dog starts to bark or howl, you must burst furiously into your home, saying “Bad Dog” or “No!” A single experience may be enough to make it clear to your dog that his barking displeases you.
When your dog is duly impressed by your dissatisfaction, you should forgive him, settle him down, tell him to “Guard the House” and leave again. Be patient and hope for the best. If your dog has not barked within 5 or 10 minutes, you can be almost certain that he has learned his lesson. But if he resumes his barking, you must repeat the entire scenario, and repeat it as often as needed.
Another method is to stay away for a brief time, and when he hasn’t barked, return, greet him fondly and praise him. Then reward him with a treat or a walk, whichever he prefers. The next day you can test him by making a point of leaving him alone for a short period of time. Chances are that he will pass the test.
In the future, if you give him plenty of exercise beforehand, and opportunity to relieve himself, bone or long lasting chew toy, water and food, whenever you have to leave your dog at home alone for a little while, he will never howl or bark without some justifiable reason.
A simple trick to stop your dog from barking with joy when you come home is to give him his ball or bone or favorite toy. He cannot hold something in his mouth and bark at the same time. He may wag his tail and get excited, but this will not disturb the neighbors.