Typically, it is expected that a puppy will stop biting about the time that they finish getting their adult teeth. This happens somewhere around the age of 7 months. Of course, there are exceptions to that rule.
Behavioral training should be the first you thing you try for puppies with bad biting habits. You often hear about behavioral training being used for dogs that have established bad habits – even old dogs.