You must be suffering from Acute Gastritis most probably. Please stay on liquids as much as possible. If you feel better then have a soft and bland (without spices) diet - you can continue curd rice.
Next Steps
If you are not getting better and continue to vomit you may need further investigations and medicines like injections and drips. You need to consult a doctor personally
Health Tips
If your pain is worsening, there is Abdominal distension or if your vomiting continues, please see a doctor immediately