Dear this condition  is seen in following condition....
1 
Gastritis or initial gastric erosion stages
Also if this continues it further results in gastric ulcer formation in which the patient vomits after meal......
When u r hungry u feel pain because the acid secreted in ur stomach causes iritation of  internal lining of ur gut . This all conditions r acid peptic disorder n 
peptic ulcer.
1 . Stop smoking , alchohol,  spicy food , tea
     Caffiene products
2)  take Mulethi powder 2gm with cold milk empty stomach in morning.u can add some sugar also
3) HIMCOCID Suspension ( Himalaya drugs) 2 tbspoon after every meal
4)Tablet Sooktyn 2 tab after every meal 
5) 
Triphala powder 3 gm before sleeping
6)chew cardomum whenever u feel to vomit
Follow this n u will definitely see the improvement .
U can consult  Gastroenterologist for further check up .he will start 
proton pump inhibitors i.e suppressing ur acid production in ur stomach with the help of pantaprazole , 
rabeprazole etc. n check for H.pylori infection
Good luck