My dog did the same thing so my vet told me to put rocks in her bowl with her food. Then she has to move the rocks around to get to it and she won't get sick. I looked at him like he was nuts bug honestly it works.
It depends on the breed of your dog and age as well. They have bowls that at maze bowls so it makes them work to get their food. Or you can spread their food out on a cookie sheet. That helps teach them to slow down. If you raise their food dish from the ground that will help with their digestion. I would avoid putting rocks in their bowl as they may eat the rocks and that makes for one very very expensive vet bill. If your dog is older than 3 years old you might want to check with your vet, but like I said depends on the breed as well.