Aspirin is not recommended to prevent heart attack for people who have never had one. The risks and harms exceeds the benefit in this case.

Health Headlines Commentary for March 19, 2019

Source:

Taking aspirin to avoid heart attacks? Risks may outweigh benefits

Reference:

2019 ACC/AHA Guideline on the Primary Prevention of Cardiovascular Disease