When you get up and have chest pain, it may be the following problems: first, it may be the stomach or duodenum problems, such as gastric ulcer, stomach cramps, duodenal ulcer and so on. Usually because of the night fasting leads to increased gastric acid secretion in the stomach, which stimulates the stomach or duodenal mucosa pain, usually accompanied by belching, nausea and so on. Secondly, there may be soft tissue problems near the chest, such as thoracic costochondritis, costochondritis or costochondritis, or the chest may be compressed while sleeping, resulting in pain caused by ischemia of the soft tissues. Third, there may be acute heart disease, which is usually accompanied by chest tightness, palpitations or pain and pressure sensation.