Non-steroidal anti-inflammatory drugs (NSAIDs) like aspirin and Advil (ibuprofen) can sometimes cause peptic ulcers, so they should be avoided. Tylenol (acetaminophen) is thought to be a safe pain reliever as it is not in this drug class.