This is why experiences your puppy has BEFORE you bring it home are very important. ALWAYS visit where it was born and raised. NEVER buy a pup sight unseen online.
The Sensitive Period for Socialization in Puppies and Kittens: Important building blocks for a behaviourally-healthy cat or dog.