Hi welcome to healthcareMagic
The yellowish discoloration of the skin is not related to the stomach pain..
The cause for the stomach pain is is Acute Gastritis
... PPI(proton pump
like pantrapazole 40mg daily once for 7 to 10 days is enough... nothing much to worry..
Hope i have answered your question...