In order to learn how to stop my dog from barking I first need to know why is my dog barking and what is he barking at. It is very natural for a dog to bark and some dogs do bark more than others.
Reasons For Barking

• Warning another animal
• Sounding the alarm
• Fear driven
• Looking to play
• Excitement
• Insecurity
• Bark for the sake of barking
• Combination of all of the above
So you can see that not all barking is bad. If your dog is alerting you to danger then you certainly do not want him to stop that type of barking. However if he is mindlessly barking as he looks for your undivided attention often you may want to stop that type of barking.
An owner needs to know just what their dog is barking at. An owner must also show confidence around their dog to let him know that you are the type of leader that he can trust.
It all come down to the Alpha spot. As the owner you need to be the pack leader and show your dog that you are able to deal with certain situations. You really need to get to know your dog and find out what triggers his barking. Sometimes it takes awhile but you need to learn and understand what your dog is telling you.