Your symptoms are related to Acid peptic diasease. Yes peptic acid is necessary for the digestion of food but it can also digest the walls of stomach in case of Helicobacter pylori infection
. You should have tests for H.Pylori infection and if the tests are positive than visit your physician with the reports for eradication therapy of H.Pylori.
If you donot want to use Nexum you can use other alternatives and change your diet plans avoid chillies and oily food and take milk regularly in your diet that can also provide protection to the stomach walls.
You can use Zantac
as alternatives of PPI
I hope I am sucessful in solving your query If u have further you can ask me
Get well soon
Dr. Azhar Sattar