Have you ate something bad,because the history you are telling seems like your stomach got infected and my advise to you is to before taking gastric medicine any more consult a gastroenterologist and any further queries regarding this consult me online
Next Steps
Take foods in form of fluids and advised a bland diet
Health Tips
consult doctor without delay