Headaches until vomiting

Nichole
I have a major headache but I noticed after I vomit i get fast relief! What is this known to be ? I tried taking tynenol n it doesn't work!!