Crate Training your dog
Dogs learn to love their crate as their very own special place/den. It becomes a familiar and secure place, whether in the car, at a motel or a dog show, visiting, or just at home.
Never close a crate door on a dog that is not currently relaxed. Never push a dog into the crate; get your dog to walk in on its own. Otherwise, you will create issues where the dog feels confined and trapped, seeing the crate as negative. Spend a lot of time calmly trying to associate the crate with a good thing. Just how you do that will depend on the dog and what works. Perhaps let the dog eat in the crate or give it a bone or toy to play with inside the crate with the door open. Spend time with the door open making the crate into something positive. Never close the door until the dog is relaxed and comfortable. This is a general crate rule that applies to both puppies and adult dogs, not just when in training, but every single time you put a dog in a crate. Crates should never be used as punishment. Time-out's do not work on dogs.
Crates should be large enough for the adult dog to stand, sit and stretch out. (Ideally for a puppy, you start with a smaller crate, or block off one end, so he can't use one end for sleeping and the other for eliminating.) A key principle is to teach you don't mess where you sleep and eat.
Dogs that have been kept in one big pen are harder to housetrain, simply because they've been forced to soil their living/sleeping quarters. Place the crate in an area so he is with you, and part of family activities, even as an observer. Do not put him in the basement. Place the crate in the kitchen or family room—if possible move it around with you.
If possible, at night the crate should go in your bedroom. Not only does this provide comfort to the puppy, but your own sleeping patterns will encourage the pup to slumber on and form instinct. If there is any fussing, you're there to deal with it.
I will never take a pup out of a crate when he is fussing, as that only teaches if he fusses enough, then he can come out. It rewards bad behavior. I wait till he stops fussing for about five minutes, and then take him out without a big welcome. You can give him a special chew toy or treat just for when he is in the crate. Be sure to give lots of praise when he's inside, lengthening the periods you leave him in. Your crate routine should begin as soon as you bring your puppy home. Close the puppy in the crate at regular one-to-two-hour intervals, and whenever he must be left alone, for up to three or four hours.
Remember, putting your dog into a crate does not of itself housetrain a dog. Hopefully he has already been paper trained by the breeder, and knows not to soil his living quarters. To be successful, you want to prevent your puppy from making mistakes. Many people punish a dog like mad for messing in the house, and then virtually ignore the good behavior when they eliminate outside. So you get a dog that learns it is wrong to mess in the house when the owner is present. Never clean up a mess when the puppy is watching.
To prevent mistakes, don't let your pup have the run of the house. He needs 100% active supervision. If you must leave the room, even for a phone call, crate him or take him with you.