A heart attack occurs when an artery supplying your heart with blood and oxygen becomes blocked. This loss of blood flow injures your heart muscle. A heart attack generally causes chest pain for more than 15 minutes, but it can also be "silent" and have no symptoms at all.