Doggy digging is in their DNA. However, it can become a nuisance if you notice your lawn peppered with holes, savaged turf and a decimated vegetable patch! It could be a sign that your doggy is bored, so make sure they have plenty of toys and be sure to rotate them often.
Purchase a dog sandpit (yes, it's a thing!) and spend time training them to only dig in there. Place rose bushes around your borders to deter digging. It could also be a sign that some pesky wild furies are visiting your home and winding your pooch up, so look out for digging around the base of trees or along fence lines.
Get them started in dog sports like agility or obstacle courses. Resources for dog sport can be found on specified websites or if you don't have the room in your yard, check for local classes.
Most importantly, ensure your family friend is stimulated and busy. Just remember, training and patience - they don't understand the effort that goes into creating that flower bed!