If you are looking to train your dog you might consider using the dog clicker training method, which has recently become popular amongst dog trainers all over in every country.
In this method the trainer has to make use of a dog clicker, a tiny plastic box with a metal button which makes a distinctive click sound once the button has been pressed.
This dog clicker training method is simple and is in many ways parallel to the positive training method. Here is what you have to do.
1. Decide on a certain behavior which you want to teach or reinforce your dog to do.
A number of behaviors and actions come naturally to the dog like sitting, eating, standing, barking etc. and these need just to be reinforced so that your dog knows when you want him to do whatever you want.
Various other actions like acting dead, shaking hands, rolling over etc. do not come naturally to the dog and need to be taught. The dog clicker training can be used to do both!
Dog clicker training works according to the basic principles of operand conditioning, by associating the sound of the clicker with a food item which the dog particularly likes (It can be a treat).
2. Now all you have to do is use the clicker to command the dog to do something, the dog.
Given that he associates the sound of the clicker with the food, immediately obliges and the training is complete.
Let us take an example to illustrate the method better.
Suppose you want to teach your dog to sit. You put a cookie on your dog's nose playfully and then move it upwards.
The dog will obviously follow the movement of the biscuit with its nose and will then naturally rest its posterior on the floor, thereby putting himself in a sitting position.
Now you should time your clicking to be accurate and occur right as the dog seats himself, now give him the biscuit and praise him.
Continue doing this for sometime till the dog begins to associate the clicking with the food until the click makes him sit without you luring him with treats.
(Side note: starting the clicker training when they're puppies works even better than when they're older!)
Now teach him another behavior, but remember to attach the clicking cue only once the animal himself offers you the behavior otherwise the clicking will not be connected to anything in the dog's head and he will be confused regarding what it means.
Your dog is one smart little animal and it's time you gave him due credit for that.
A number of trainers have been known to use negative reinforcement techniques alongside the clicker method but this simply doesn't work, because punishment at all times creates a number of unwanted behavior.
Even if it serves the primary purpose of teaching the dog to not do something temporarily, negative reinforcement doesn't work too well with them.
Any kind of training is a strenuous and rigorous process and needs time and patience. Although the dog clicker training method has a high success rate, it might not work for certain types of dogs.
If you see that it's not working for your pet you would be well advised to use some other technique to teach it tricks, such as a combination of dog clicker training, combined with food training or using affection as a method as well.
All in all, if done right, dog clickers can be an excellent training tool for training your dog to behave the way you want them to, as well as to get rid of unwanted bad behavior, like excessive barking.
If you don't know where to begin, a great pet clicker training resource can be found here.