There are many reasons for heart pain, as follows: 1. It can be seen in angina, such as compression, lasting for a few minutes, this situation is angina, need to promptly consult a doctor and targeted treatment of angina, to avoid irreversible damage to the heart; 2. It can be seen in the situation of myocardial ischemia caused by long-term staying up late, such as no previous heart disease, can be relieved by relaxation, pay attention to the rest of the heart pain If the heart pain does not change after reasonable rest, or if the heart pain is persistent when sleeping, prompt medical attention is needed. The heart pain during sleep can be checked by ECG to see if it has pathological changes, and if the diagnosis cannot be confirmed by ordinary ECG, 24-hour ambulatory ECG can be used to accurately grasp the changes in the heart within 24 hours.