See a doctor for diagnosis and treatment
Take prescribed antibiotics if the ulcer is caused by H. pylori
Use prescribed acid-reducing medicines such as proton pump inhibitors
Take medications exactly as directed and finish the full course
Avoid NSAIDs such as ibuprofen and aspirin unless your doctor says otherwise
Stop smoking
Avoid alcohol
Avoid foods and drinks that worsen your symptoms
Eat smaller, more frequent meals if needed
Manage stress
Get urgent medical help for vomiting blood, black stools, severe pain, fainting, or trouble breathing
