Continue writing the next sentence in this paragraph:

How to train your dog to not run away
Begin training a lot when your dog is still young.
Just like people, dogs tend to form lifelong behaviors when they're young. You may have a difficult time training a very young puppy, but it's always good to try.
If you've adopted an older dog, you can still retrain him or her, but it may prove more difficult. Gather some special treats for your dog.