The best way to teach your dog to walk properly on the leash without pulling is to teach your dog Loose Leash Walking. Properly walking a dog on a leash means the dog does not pull you; that the leash is loose.
A helpful tip to go along with this is…never let your dog pull you over to anything. If a dog really wants to get to this tree over here and pulls you over to the tree, you just rewarded your dog for pulling. When meeting a new dog, do not let your dog pull you over to greet. The owner must take leadership over the dog. We must communicate to our dogs in a way they understand. Letting your dog pull you over to anything is rewarding them for pulling. Don’t do it!