Every time your dog gets to the end of the leash and starts pulling, turn around. This will get repetitive and boring for both of you, doing it hundreds of times, but teach them not to assume they are always walking towards whats in-front of them.