Hello, thanks for the query to H.C.M.C.
Every thing which you eat, seems stuck in chest somewhere.
Vomits whatever you eat or drink.
The things occurs at once i.e. not chronic.
Possibly and foremost reason is acute gastritis
or oesophagitis. Before this problems you might have had food ( spicy or wine or food producing severe gastritis) , if you have these things just before this condition than need not to worry because simple antacid
type medicine can cure you.
Sometimes there is a fold in oesophagus ( food pipe) , in that condition patient feels that whatever when he eats there is cough
and thing comes out as he vomits.
In your's case possibly first type of situation may be.
Avoid fried food , spirit, smoking
, strain as these are causative reasons of this type of conditions.GOOD luck. Dr.Het.