One of the first things to consider to solve this problem is to create a bond with your dog. Let him know who's boss. Let him know that you are the pack leader. If it does not take a leadership role with your dog, you can not control it. He will bark when he wants and there is nothing you can do to stop it.
If you want to be in control, you must set restrictions for your dog. Order him to what is right and what is wrong blame. When he is always right reward him with a big hug, rub it on the head or give a larger donation as a dog biscuit.
When barking too, to express their discontent. Drawing attention to it. When calm, reward him for it. Dogs are intelligent animals and soon realize that they have a better chance to get treatment if they do not bark unnecessarily.
Standing exercises are also helpful. In addition to promoting the growth and development of the body, the dogs need to walk too. Dogs may be domesticated, but still have a main character that must be satisfied. And it is to explore their environment and is not based in one place for long. And if a dog is deprived of these privileges, you know the end result. It will make your voice heard.
Dogs will be dogs. And it is for them to bark to express themselves and to get noticed when needed. But when they bark too, becomes a behavior problem. Try to make your dog unleash this pent up energy by taking a walk every day. And finally, to show that you are the alpha male leadership with rules and exercises. You're the only all decisions. So when you say to cut the roll of bark, which actually did.