Use obstacles anywhere you find them to practice hand targeting (following), cuing to sit, down or stay as a way to add training and fun together while doing it in the real world.
Use your word, example "side" or "hip" so dog runs and lines up at your side of choice.
Feed your dog for staying at your side in a stationary position.
Next use your hand target to help keep your dog with you.
Place your hand target at your side and say a movement word such as "let's go" and move together.
*If dog moves out front or out of place, start over.
Dogs that move too quickly in front you begin by increasing your speed then decrease all the while keeping your hand target in position.
Reward as often as you like, however, begin to vary and different durations. Such as 2 steps, 5 steps, 1 step, 8 steps, 3 steps, etc.
As dog is going well, begin to phase out your hand target and lower as needed or as a reminder.
Above all, have fun. Your dog can tell if you are having fun.
Step 1: Dog learns to move with the leash pressure not against the pressure.
Step 2: Challenge away from added distraction
Dogs that do not come from distractions need to learn to come and practice coming to more fun or something better.
With 2 people:
With one person using something like a snuffle mat or you could use behind a fence. Video with snufflemat: (27) Distraction Recall - YouTube
Practice impulse control at the distance your dog needs based upon the distraction and environment.
First make a list:
Example Distraction List for my Puppy Eureka (work one at a time) lowest to highest for her.
1) Family dog walks into room
2) Family dog arrives home
3) People outside with dogs
4) Person dropping family dog off
5) Eureka outside when delivery arrives
6) Squirrels in backyard
7) Sprinkler in backyard
8) Hose
9) Squirrel while on leash outside of yard
10) Sprinklers while on leash outside of yard
Video: https://youtu.be/zlxnal53mLM
Great way to start is with your dog's meal; that way you have plenty of rewards to promote staying vs moving because of lack of reinforcement.
Start on a target spot of sorts so if your dog moves off you send them back to the same spot. Note: if they move off do not reward them for going back. Taht would reinforce getting off.
You can teach it in any position (sit, down or stand or just an offered position).
Once your dog is understanding the duration of stay a bit begin to add a game.