Human: What is the best way to keep a dog from digging up the garden? Assistant: 
The best way to prevent your dog from digging in the garden is to install an underground fence. This will create a physical barrier that prevents them from getting too close to the plants and soil. You can also use deterrents such as motion-activated sprinklers, loud noises, or electric fencing to discourage them from digging. Additionally, you should make sure to provide your dog with plenty of chew toys so they don’t feel the need to dig for fun.