Palpitations can not sleep for a variety of reasons, can be divided into physiological or pathological, generally physiological removal of triggers can be relieved, pathological, such as premature beats, atrial fibrillation and other tachyarrhythmias can be used to slow down the heart rate of the beta-blockers such as metoprolol, hyperthyroidism caused by palpitations can be relieved by taking medication such as methimazole, as follows: 1. Physiological: such as after exercise, mental stress, drinking strong tea, coffee and other causes of nerve excitation, generally no special treatment, remove the above factors can generally be relieved. 2. Pathologic: (1) Diseases of cardiovascular system: such as ventricular premature beats, atrial fibrillation and other arrhythmias, the heart rate can be slowed down by taking β-blockers such as metoprolol, and calcium channel blockers such as verapamil and diltiazem, etc. If the slow heart rate causes palpitations, it is necessary to go to the hospital for checkups, and implantation of a pacemaker is required if necessary. (2) Endocrine system diseases: for example, hyperthyroidism will lead to palpitations, insomnia, hyperactivity, etc. Generally, drugs such as methimazole and propylthiouracil can be used to inhibit the synthesis of thyroid hormone and relieve the symptoms. (3) Anxiety, depression: generally can take sleep aids such as eszopiclone, anti-anxiety and depression drugs such as paroxetine. It is recommended that patients with palpitations and insomnia should go to the hospital in time, and take reasonable treatment after clarifying the cause of the disease, and do not take medication on their own.