If you witness someone having a heart attack, take immediate action by calling emergency services (such as 911 in the United States). While waiting for medical help to arrive, provide CPR if you are trained to do so and if the person is unresponsive and not breathing normally. CPR can help maintain blood flow and provide oxygen to the heart until medical professionals take over.