When a dog is scared of something or someone, he will display two principal reactions of either to ignore what he is afraid of, or he will display aggressive behaviour. This is also the very reason why a child gets bitten.
When a dog considers a person to be a threat he will display aggressive behaviour with the primary purpose of getting rid of the threat. Their instinct is to defend a territory that they consider to be their own.
Socialization Prevents Biting
It is important that your dog makes contact and plays with other of his own kind. When they run and play they also bite each other and thereby they learn not to hurt each other. In this manner your dog learns how to channel his energy in an acceptable manner, and thus as he grows older he will not be afraid of other dogs.
Trust And Respect Inhibits Biting
There are two prerequisites necessary before you can teach your dog anything, and they are trust and respect. Please remember never to kick or hit your dog, because then he will lose all confidence in you. A unique quality of a dog is to love unconditionally, and that you receive automatically from him. Do not punish him because he has had an accident in your house, thereby you will also loose his trust. Just clean it up he will soon learn not to do it in the house.
Reprimand alone will not stop him from biting. If you have not earned your dog's respect, the biting behaviour will only increase and with more aggression, through fear and lack of confidence. Act timeously and do not wait until the dog bites before you do something. If your dog already has an aggressive behaviour, just know that it can be corrected.