Your dog may wander into the trash can when you are gone because she is bored. You can help to keep her out of mischief by leaving her with engaging chew toys and providing plenty of exercise when you are around. You should purchase a trash can with a tight lid that is short enough to fit in a closed cupboard.