Heart pain after waking up from sleep, first of all, consider the onset of myocardial ischemia and unstable angina. Patients with unstable angina often have chest tightness and chest pain at night or in the morning, some of them are accompanied by profuse sweating and a sense of near death, so it is necessary to do an electrocardiogram to further confirm the diagnosis, and you can take nitroglycerin at home to relieve the symptoms of angina. Secondly, heart pain after waking up may also be due to lack of rest at night, insomnia and sleeplessness, causing intercostal neuralgia, and intercostal neuralgia should be considered only after excluding organic heart lesions. Then, heart pain after waking up should also pay attention to the possibility of pericarditis, which is often caused by viral bacterial infection causing inflammation of the pericardial layer and can be located in the precordial region with stabbing dull pain.