You seem to be suffering from acute gastritis
probably caused by the pain killers.
Pain killers are notorious in causing inflammation in the inner lining of stomach resulting in acute gastritis.
Treatment is simple
Stop pain killers
Avoid spicy foods
You may take pantoprozole 40 mg daily in the morning empty stomach foe a week.
Please do inform your doctor about this.