It seems your mother has developed acute gastritis
due to consumption of pain killers.
Ask her to stop taking these pain killers and put her on a proton pump
inhibitor like PANTOPROZOLE 40 mg daily in the morning empty stomach.
If she doesn't respond in next 4 to 5 days,then better to consult a doctor for examination and any investigation if required.