This can narrow and decrease or even completely prevent blood flow to part of the heart muscle. If the spasm lasts long enough, it can lead to chest pain (angina) and even a heart attack (myocardial infarction). These spasms are sometimes referred to as Prinzmetal's angina or variant angina.