Note here how to keep a leash. Depending on which side of the road I want him to walk, I loop the strap around the opposite hand, it passed my whole body and on the other hand to keep it firmly down on my side. This gives me control, but still provides room for my dog to walk easily and be able to do some sniffing.
When you are out, he probably wants to pee everything in sight! It's a great first couple of minutes, but then you need to control and restrain him. Given that fact, he feels restrained, he, of course, to pull to get out, and you can teach him to stop pulling that you pull back on a leash. The only way to teach him to do this is to stop walking and sit on him. As he sits quietly, you can start walking again.
First, walking is very choppy, and will probably take quite a while. But patience and perseverance he will learn that making stops to pull on a leash to walk. It is important to recognize this fact. It is also good to take goodies so you can reward him when he gets it right.
All dogs are different - and some learn faster than others, but this particular behavior is very simple for them, and it should not be long before he walks quietly beside you, and you look forward to walk as much as he is.
Always remember dogs are pack animals, and by communicating with him and he will understand, and you will get a better result for all parties.
It is important that the training will start as soon as you get your dog or puppy home. Puppy School to help socialize the dog, and there is a wealth of information on the Internet about training dogs.