Acidity is a common problem mostly caused by lifestyle eating habits, outside food etc. Prolonged symptoms can be because of H Pylori infection: for this you will need to undergo Endoscopy and test for this : if found positive, then a course of medicines for eradicating H Pylori will have to be taken
Next Steps
Medical Gastroenterologist should help with Endoscopy and treatment