Question: how to train your 6 month old puppy not to bite?
Answer: Get your puppy's attention.
Move your hand towards him in the direction of his muzzle, but not close to him.
If he moves his mouth towards your hand take your hand away and try again with more distance between you.
If he ignores your hand say YES and give him a treat (put it on the floor)