Stomach bug? TMI STORY

I've thrown up 3 times today haven't ate all day and I have diarrhea. When I threw up its just foam looking and clear . Can this me that stomach bug going around? Oh yeah, and I don't have an appetite .