It could mean you have a stomach virus. When I have a stomach virus, the inflammation does cause stomach tightness and vomiting and then, of course, a headache. But if you've recently had unprotected sex, it could also mean you're pregnant. If you think that you might be pregnant, now would be a good time to take a pregnancy test. If you continue to feel sick, you should see a doctor.