What is a medicine for dysmenorrhea that is not bad for ulcer?

Try Tylenol (acetaminophen) products. But call your doctor for other option. Also, do not use more than the recommended dosage on the label.