What does it mean when a hamster throws up?

The Hamster is sick, and it needs to be taken to a Veterinarian.