What happened when I woke up with chest pains?

There are three main cases of chest pain after sleeping: 1, physiological pain: due to incorrect sleeping posture at night, causing prolonged pressure on the breast or local chest wall tissue, resulting in impaired blood circulation, resulting in lactic acid accumulation, chest pain and discomfort after waking up, which is a normal physiological phenomenon and does not require special treatment; 2, peptic ulcer: due to vagus nerve excitation, resulting in excessive secretion of gastric acid, which leads to increased symptoms of peptic ulcer after waking up Peptic ulcer symptoms aggravate, manifesting as pain behind the sternum, accompanied by abdominal distension and erratic discomfort; 3, cardiac system diseases: such as coronary heart disease or myocardial infarction, easily cause sympathetic excitation after waking up, resulting in coronary artery contraction, severe pain in the anterior thoracic region, the pain can be slightly relieved after taking nitroglycerin orally. There are a variety of diseases that cause chest pain when you wake up, you should go to a regular hospital for gastroscopy or electrocardiogram examination to make a clear diagnosis and carry out reasonable treatment under the guidance of a specialist.