If your heart is suddenly beating fast and panicking, you should first go to a regular hospital to have an electrocardiogram and cardiac ultrasound examination, take relevant medication for the cause, and pay attention to your diet. If it is caused by myocardial ischemia, if it is diagnosed, it can be treated by applying drugs such as compound monosodium glutamate tablets and heart stabilizing granules, and eating more foods with less salt and fat, such as sweet potatoes, corn, beans, green vegetables, apples, oranges, etc. It may also be caused by arrhythmia of heart rate. If such condition occurs after overexertion, avoid exertion and pay attention to rest, if it is only due to overexertion, you can recover with good rest. If you have not recovered, you need to go to the hospital for further examination and diagnosis, and then follow the doctor’s advice to do targeted treatment. Consider that it is caused by hypertension, if the diagnosis of hypertension through the examination, you can take the relevant drugs to reduce blood pressure, such as beta-blockers, diuretics, appropriate tea, such as Pu-er, green tea, oolong tea, but do not drink strong tea.