Acid reducing meds. Also known as proton pump inhibitors like Omeprazole etc. Are recommended for the treatment of ulcers. Otc antacids may help with short term symptom relief but will not heal ulcers. If h. Pylori bacterium is present you will need antibiotics as well. Avoid any nsaids, or Aspirin and make sure you eat light avoiding heavy, spicy and acidic foods, including citrus, sodas, caffeine, alcohol & smoking.