How do I get my dog to not dig in the trash (when left alone)?
1. Prevention: Seek out the motive behind the behaviour. Boredom? Wanting to use their nose for scavenging? Has an itch for some scent detection and nosework?
2. Management: Limit access to the unwanted behaviour and see if it manifests itself elsewhere, especially if it’s fulfilling a need that could be met in other ways. Also see if this is happening as soon as you leave or later. It could also be done as a way to deal with some anxiety due to being away from you.