As with many other behaviors, practice makes perfect. This means that the more your puppy practices going in appropriate places (like outside), and the less they have the opportunity to go to the bathroom inside, the faster your progress will be.
There are multiple reasons why puppies bite, and knowing the reason why a puppy is biting in a specific situation can help to develop a plan to reduce or eliminate biting in that situation.
Socialization is a very personal process. You are not just shaping your dog to live in the human world, you are shaping him to live in YOUR world.