I've been throwing up a lot lately and im not sure why. I'm not pregnant, what could it be?

Multiple reasons. Vomiting can be secondary to alot of reasons. Stomach problems most likely. Gastritis, gerd, ulcer or gallbladder. Urinary tract infection. Central nervous system prpblem or endocrine. I recommend getting checked.