To stop a dog pulling on the lead, make walking beside you more rewarding than pulling ahead. Stop or change direction when the lead goes tight, and reward your dog with treats and praise when it walks on a loose lead. Be consistent every time, because dogs pull when pulling works.
Pulling usually works: it gets the dog to the smell, the park or the other dog faster. Dogs also walk faster than people, and they get excited. So the way to change it is to make pulling stop working and to reward the behaviour you want.
A front-clip harness can help some dogs by reducing the leverage of pulling, but it is not a substitute for training. Avoid equipment that causes pain or fear.
Give treats beside your leg, at your dog's nose height, so that is where the dog wants to be. Start rewarding often, every few steps, and gradually reduce how often as the dog improves. Make training sessions short, about five minutes at first.
Give your dog some off-duty time on walks, such as a sniffing break on a longer lead, so it is not always expected to concentrate.
It varies with age, breed and practice. Many dogs improve over a few weeks of consistent, short sessions, but it can take months to be reliable in busy places.
Some owners find a well-fitted harness or head collar helpful. Ask a qualified trainer to check the fit and show you how to use it.
If your dog is aggressive, extremely reactive, or if you are struggling, ask a qualified, force-free trainer or a vet for a referral.
Learn the full skill: Dog Training for Owners (UK): Puppies, Adult Dogs, Recall, Lead Walking and Common Problems