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 in your garden is to make sure that it is fenced off or otherwise contained. You can also use deterrents such as electric fences, buried wire, or motion-activated sprinklers to discourage them from digging. Additionally, you can plant ground covers and shrubs that are hardy enough to withstand their digging efforts.