If this is persistant then some diagnostic tests shoud be done. First of this is gastroscopy to see oesophagus and stomach. There can be some kind of obstruction(polyps, diverticles or ulcers).
can be considered as well. I dont think it is something serious but vomiting
lasting so long needs to be evaluated definitely. Medicines wont help.
Wisg you good health.