If a child has a fever and keeps saying that his or her heart hurts, it is mainly due to the following conditions: First, the symptoms are caused by pneumonia in children. When a child has pneumonia, especially when there is a large solid shadow in the lungs, he or she will have heartburn with a cough and a high fever that does not subside, and will need prompt anti-infection and phlegm treatment. If it is very serious, sometimes it needs to be treated with fiberoptic bronchoscopic irrigation. Second, the symptoms are caused by myocarditis in children. This is caused by a viral or bacterial infection that invades the heart muscle of the child, causing damage to the heart muscle, which can also cause heart pain in children. Third, gastroesophageal reflux should be considered, often accompanied by acid reflux, erratic reflux and other manifestations. It is recommended to go to the hospital early to get a clear diagnosis.