human
What is the best way to keep a dog from digging up my garden?
assistant
The best way to keep a dog from digging up your garden is to install a barrier around the perimeter of the garden. This can be as simple as a fence or a buried wire mesh. You may also want to consider adding an underground fence that is designed specifically for dogs, as this will prevent them from digging under it and still allow them access to the garden. Additionally, you could try using repellents such as vinegar or hot pepper spray to discourage digging.