If your cat starts gagging and retching, you can be pretty sure that your cat is trying to vomit a hairball.