How to teach your dog to not bark.
When your dog is barking to another dog or to someone you cant say his name because he will thinks your saying well done Blacky (or what ever the dog name is).To avoid it you need to tap him on his back o neck. That way he will think you are saying Bad Blacky Stop!!
Also if his barking to a human you just ignore him or if his biting to another dog go infront of him so he separate from the other dog.
How to make your dog obey
You will need food or something he loves .eg.ball, stick...
You wait and and you DON'T give it. You say 'sit' with the food or thing in your hand showing him. If he doesn't understand with your hand carefully you touch or push his hip and say 'sit' so the next time he knows what it means. If he sits you can give him the game or the food. You can also do it with other words.eg.lay, crawl...