It appears that your child might be having acute gastritis
Now as antibiotic is started, there will be improvement within a day or two.
See that medicines given orally are retained in the stomach and not vomited out after giving.
Give light and liquid diet
Ok and take care.