If the patient suddenly has a rapid heartbeat when staying up late, it is usually related to the over-excitement of sympathetic nerves or over-fatigue when staying up late, then he needs to take a rest immediately, can’t continue to stay up late and it is better to lie down quietly and give oxygen treatment as much as possible, such as there are conditions at home with an oxygen bag or an oxygen cylinder, he can be given oxygen treatment, and at the same time he should let the patient try to avoid excessive tension and relax the vegetative nerve function as much as possible, which can be adjusted by taking drugs to stabilize the heart rate. At the same time, the patient should avoid excessive tension and fully relax the vegetative nerve function, and the heart rate can be properly regulated by taking drugs to stabilize the heart rate, for example, Chinese medicine heart stabilizing granules can be taken, or western medicine beta-blockers can be taken appropriately, such as metoprolol tartrate or metoprolol succinate, and the patient’s condition can be observed within 30 minutes after taking the drugs. If the symptoms of rapid heartbeat are gradually relieved, then it belongs to the vegetative nerve dysfunction or caused by endocrine disorders due to staying up all night. If the patient’s rapid heartbeat is not significantly relieved, he/she must go to the hospital for a thorough examination and treatment.