Sounds like you have a really bad case of the flu, or you could have a bad case of food poisoning.
The best thing to do is stay at home and wait it out, as long as you are able to stay hydrated and your symptoms don't get so bad that you feel as if you need a trip to the ER. If your symptoms last more than 5 days, it's probably time to call a doctor. Even tho you are throwing up, drinking is still necessary: try ginger tea to calm your stomach, and an electrolyte drink such as Gatorade to keep yourself hydrated. Just drink slowly!! Another really good stomach remedy is blackberry brandy or even just any brandy or whiskey... it will help kill the germs in your system. Just drink it sparingly: you don't want to completely burn your stomach (or get drunk since you haven't eaten in a while lol.)
When you start feeling like you might be able to hold things down, you can try saltines or toast and gradually work that in. You are going to feel hungry when you are sick...even tho your body is sick, it still needs norishment. It's too bad we can't turn off the hunger when we get sick like that.