NSAIDs may increase your risk for a heart attack or stroke. If you need both aspirin and a pain reliever every day, talk to your doctor about what pain reliever you should take. If you take uncoated aspirin and ibuprofen at the same time, the aspirin may not work as well to prevent a heart attack.