Acidity occurs due to excess secretion of acids in the stomach. This overproduction of acid may occur due to stress, diet (especially spicy and non-vegetarian food), lifestyle (smoking, alcohol), peptic ulcers, GERD, stomach tumours or medications (in particular, non-steroidal anti-inflammatory drugs, NSAIDs). Keeping long intervals between meals too plays a big role.
Treatment includes changes in diet (avoid acidic foods including spicy and salty foods), having small regular meals, modifying lifestyle (no smoking and alcohol) and stress-reduction. Restrict over-the-counter medication. Antacid medications offer immediate symptom relief by neutralising excess acid. Antacids and other medications are a quick fix for acidity but are not meant for long-term use. If the symptoms do not improve after 4 weeks, then visit a good doctor who may ask for several clinical tests for a more detailed diagnosis. Regular episodes of acidity signal more serious conditions. For more information and home or non-medication remedies, read Acidity: A cause for heartburn