The human body isn't too good at identifying the cause of illness. Sick? Maybe it was something you ate. Better get rid of it.
But the key words are as normally as possible. Find what you can keep down, and don't eat so much as to trigger another round of vomiting. Immune responses burn extra calories, so if you're not keeping anything down, you're going to be at a fair deficit.
In nature, without science and medicine, the body just tries to do the best it can on its own, and tries to get rid of the disease before it kills you. It doesn't have a very good rate of success, but then that's just nature. Wild animals get ill and die all the time.