Welcome to Health Care Magic,
It is most likely that you had acute Gastritis
may be because of indigestion
,if the episode was transient and just before vomiting all that you felt was a autonomic reaction,because of reverse peristalsis
, hope you felt better after vomiting.
Yes vomiting can cause some important electrolytes loss and mild dehydration
,so take antacid and replenish fluid and Electrolytes loss with ORS with water and coonut water ,buttermilk.
If vomiting persist and associated with any fever,loose motions ,kindly consult a local Physician to examine you and deal with condition accordingly.
Please write back if you any query.
Good Luck to you