Avoid petting your dog while eating. Allow them to have their own space while eating and to feel comfortable and safe whilst doing so. Many owners think that petting dogs while they are eating can help their food guarding, but sometimes it can actually make things worse. As your dog's space is not being respected, they may begin to show aggression to try to prevent the petting.