Here’s something I typed up awhile ago to give to people who either want to know how to crate train a dog or are upset because their newest member of their family is unhappy being confined.
There are many different ways to crate train a dog. I like the one I use because the crying is kept to a 30 second maximum.
It'll take a week or so. Get a crate that is big enough for him to sit (not stand), lay down on his side with all four feet stretched out and wide enough for him to turn around without bumping into the sides.
Day one: teach him to realize the crate is a good place to be. Toss treats into it several times during the day.
Day two: give the command crate, toss a treat and when he goes into it shut the door, give him a treat and let him out.
Day three: repeat day two, only this time sit across the room and wait for 30 seconds before the treat and release.
Day four: repeat day three, only this time increase the time to 5 or 10 minutes,
Day five: give the command crate, shut the door leave the room, immediately turn around, give the treat and release.
Days six to eight: repeat day five only increase the time to an hour. If he cries for more than 30 seconds, go back, give the command sit or quiet, anything, give the treat when he complies, let him out and try again after an hour.
Day nine: Move the crate to your bedroom, or better yet, get another crate, feed him no later than 6 pm, take up all the water at 9 pm, and take him for a brisk walk/run. The dog HAS to go poop and pee before being brought inside. Also play very hard (a tired dog is a quiet dog). Give him half an hour to calm down, put him in the crate next to your bedroom and go to sleep.
If he cries, put your fingers inside the crate and comfort him, but do not let him out. If the crying gets on your nerves, take him outside for five minutes - no playing and very little communication. If he goes, quietly praise him. Irregardless, bring him back inside on leash and put him back in the crate.
If you're going to be gone for more than 4 hours during the day, confine him to a room with a baby gate or use an exercise pen instead of a crate.
Never use the crate as a source of punishment. It's supposed to be enjoyable.