Oftentimes, dogs will dig because they are bored. Give your dog some mental stimulation, like toys, to entertain them and prevent them from digging.