See a doctor for proper diagnosis and treatment
Treat the underlying cause
Stop or reduce NSAID use if advised by a doctor
Avoid alcohol
Stop smoking
Eat smaller, more frequent meals
Avoid spicy, acidic, greasy, and highly processed foods if they trigger symptoms
Avoid caffeine if it worsens symptoms
Manage stress
Take prescribed acid-reducing medicines
Take prescribed antibiotics if H. pylori is present
Use antacids only as directed
Stay hydrated
Avoid lying down right after eating
Seek urgent care for vomiting blood, black stools, severe pain, fainting, or trouble breathing
