This happened to me recently. I had a very light breakfast, and didn't eat anything all day long. In the evening, I ate a heavy dinner, and then subsequently I started to get a headache. An hour later, I threw everything up. I know that this site isn't suppose to be about diagnosis of any type, but just to get a general idea, what is the relationship between a headache and vomiting? And why did the empty stomach reject food?