What happened to the sudden pain in the chest?

A sudden onset of pain in the chest that improves immediately may be caused by stomach cramps. Stomach spasms may occur after a cold or a meal, or in the presence of mood swings, resulting in pain in the upper abdomen and the subxiphoid process, which usually improves quickly. If the patient also has gastric disease, subxiphoid pain may also occur, such as chronic gastritis or gastric ulcer, which often results in pain and distension in the upper abdomen, accompanied by nausea, vomiting, acid reflux, belching and other symptoms of the upper gastrointestinal tract. If a clear diagnosis is needed, gastroscopy is recommended because it can detect lesions in the mucosa of the stomach and a small amount of tissue can also be taken for pathological examination. After the diagnosis is clear, oral gastric medications, such as common ones including omeprazole or rabeprazole, magnesium aluminum carbonate, etc., are needed.