 [ Symptoms ] what over the counter otc medication is ok to take for headaches when you have stomach ulcers [ Disease ] this is a popular question that i get a lot at the pharmacy for a headache you can take tylenol or acetaminophen this medication is safe to take if you have stomach ulcers you want to make sure you follow the dosage instructions on the package and if you have any questions talk to your pharmacist    we will be happy to answer questions like this