If you can't keep anything down and keep throwin up, you will eventually heave bile. It's flourescent yellow in color.
Any medicine you ingest orally will not stop your vomiting as you will just heave it right back up.
If this (eventually) sounds like you, you will need to go to a hospital. You may have acute gastritis. I've suffered this four times before, and it sucks because after the iv treatment you are cautioned from eating or drinking anything oily, salty, fattening, etc. No sodas, no smoking (if you do); basically you're limited to food you'd get in a hospital - bland as hell.
The only good thing is after the iv treatment you will stop heaving within the hour. I hope that's not what you have, but if you're clenching your stomach in pain and can't put anything down, it's either acute gastritis / gastroenteritis or some sort of poisioning.