See a doctor to confirm the cause and get the right treatment
Take prescribed antibiotics if the ulcer is caused by H. pylori
Take prescribed acid-reducing medicine such as a proton pump inhibitor
Avoid NSAIDs such as ibuprofen, naproxen, and aspirin unless your doctor says otherwise
Stop smoking
Limit or avoid alcohol
Avoid foods and drinks that trigger pain or irritation
Eat smaller, more frequent meals if that helps symptoms
Manage stress
Follow the full treatment plan exactly as prescribed
Get urgent medical help for vomiting blood, black stools, severe pain, fainting, or trouble swallowing
