My pup used to do that too I took her to the vet and they said she had a very mild upper respiratory infection. The vet gave me medicine and it passed. The only difference with my pup is that she wasn't throwing up it only sounded like she was.Good luck