Aspirin can help during a heart attack by preventing blood clots from forming or growing larger, thereby reducing the risk of further blockage in the coronary arteries.