Aspirin is also used long-term to help prevent heart attacks, strokes, and blood clots, in people at high risk. Aspirin may also decrease the risk of certain types of cancer, particularly colorectal cancer. For pain or fever, effects typically begin within 30 minutes.