Do what electric dog fence companies do and set up a perimeter of flags, and multiple times a day go to different part of your yard (with your dog on a leash) and shake the flag and tell him "NO". It takes at least a month but its well worth it. Good luck :)
Train it to follow you
If you want to train them, which is very difficult.
shock collar!!!!!!
you can if he is ready or you think he is i am going to get one but you can. i heard good luck with your dog!
leash training
The best way to train your puggle, because they can be stubborn is going to PetSmart and going to the training classes. They have a great program, you can access their site at www.petsmart.com
Good Luck!
a leash
put it on a leash or train it at petsmart
Some dogs just can't be trusted off leash. So keep it on a leash.
some cats dont mind the leash, some do, you can leash train a cat, it takes time and patience, my cat is leash trained, i did it out of love for him, it keeps him safe, and he does not mind walking with it
To effectively leash train a bunny, start by getting a harness specifically designed for small animals. Introduce the harness to your bunny gradually, allowing them to get used to wearing it. Once they are comfortable, attach the leash and let them explore in a safe, enclosed area. Use positive reinforcement, such as treats, to encourage good behavior. Be patient and consistent with training, and always supervise your bunny while they are on the leash.