answered 1/26/2010 Can I Get Pain Medication, For Ulcers? It's best to just take drugs that lower gastric acidity... H2 blockers and Proton Pump Inhibitors... Less acid=Less pain.