Could be the norovirus. Puking and diarrhea are terrible. It generally gets better after 2 to 3 days. Very contagious.
It could be food poisoning too. Either way see a doctor to get a diagnosis. You can get very dehydrated quickly. He can give meds to stop or slow the nausea.
A doctor can find out if it's something more serious like an appendicitis.