Do I have a stomach virus?

It's been a while since I've had one (about a decade) and I've forgotten what they feel like. I've thrown up twice in the past four hours, have the chills, have green diarrhea, and a headache which is probably just from the strain of throwing up. Do I have a virus?