Everyone is giving good advice.
When you go out to pee the pup, make sure to go with it and cue the action with a word or phrase like 'do you business'. Say this in a calm and kind way, but not in a way that gets the pup's attention unnecessarily, because you want him concentrating on doing other things. Do not sound impatient and be very very consistent. You must witness the pup void and then praise praise praise and play. When the pup comes back inside make sure he goes out every 15 min without fail or you might end up with an accident in the house, especially if the pup has been actively playing or chewing on a toy.
A big mistake people make is putting the puppy unattended in the backyard and assuming they void, when in reality the pup is thinking about other things like where it's owner went and why is he out in the dark by himself! In such circumstances, as strange as it sounds, the pup WILL forget to void and then be allowed back inside and promptly void, and get in trouble. This is unfair to the pup.
Make sure when the pup is out for the first few months that it is under your direct observation at all times while loose in the house.
Learn the pup's body language that means he needs to void. This will usually start with a certain sniff. In time you will learn what it looks like and will be able to say loudly LETS GO OUTSIDE and dash for the back door when you see the pup display incipient voiding behavior. Be loud and cheerful and interesting and dash out the door with the pup running after you and then cue the void command. A lot of times the pup then goes 'oh yeah!' remembers to void, and then gets praise and play! This is a priceless lesson.
Remember that if the pup cannot be under your direct observation inside, for the first few months he needs to be crated until you can keep an eye on him. Also remeber that if he does void inside it will more than likely be your own fault because you took your eye off him or waited too long to take him outside or did not actually see if he voided outside.
If he has an accident scold him mildly and crate him for a 1/2 hour, take him outside and praise when he voids. If he does not void he goes back into the crate and the cycle repeats until he does and then praise and play and he gets to play in the house again.
I like to house train my puppies in a bigger crate so they CAN get out of their own waste. They will have the option to stay clean and will learn that being clean is much nicer than being in waste and will not just assume it is OK to sit in waste as a matter of course.
I find this much more humane because I work and must be gone from the house for hours at a time. As the puppy grows it will be able to hold itself in longer and will have a better chance and motivation for not voiding in it's crate. This is, of course, just my opinion.
Feed him in his crate so he learns to want to be in there. When you put him in it you can toss a small treat into the back of the crate and cue with the word 'kennel' or 'crate' or 'get in' or whatever, but be consistent. He will also learn this command and get into his crate when it is given to him.