Question: how to train dog not to eat trash?
Answer: Consider setting up baby gates to keep your dog out of the kitchen, or setting him in a crate when you leave the house for prolonged periods of time. You may be able to train your dog to stay out of the trash by teaching her that the trash can is off limits.