The causes of fast heartbeat and panic in bed at night are physiological factors, such as drinking too much coffee or strong tea, drinking alcohol, staying up all night, etc.; pathologic factors, such as cardiac arrhythmia, hyperthyroidism, and so on. The causes are different and so are the treatments. The main treatments include good living habits, medication and so on. 1. Physiological factors: If the patient feels that his heart beats faster and feels panic when he sleeps at night, the first thing to consider is that it is caused by physiological factors, such as drinking too much coffee or strong tea, drinking alcohol, staying up all night, etc. The solution is to avoid drinking coffee or strong tea before going to bed. The solution is to avoid drinking coffee and strong tea before going to bed, quit drinking alcohol, avoid staying up all night, etc., and develop good living habits. 2. Pathological factors: when the patient appears to sleep at night with fast heartbeat and panic, it may also be caused by some pathological factors, such as arrhythmia, hyperthyroidism and so on. It can be treated with medication. Metoprolol tartrate tablets, sotalol hydrochloride tablets, etc., can be used to treat arrhythmia; methimazole tablets, propylthiouracil tablets, etc., can effectively treat hyperthyroidism. If the patient repeatedly appear at night sleep fast heartbeat panic, should promptly go to the regular hospital, under the guidance of a professional doctor symptomatic medication, so as to avoid delays in the condition, resulting in adverse consequences.