Adequate sleep, balanced diet and proper exercise are three internationally recognized health standards. One third of a person’s life is spent in sleep, and sleep, as a necessary process for life, is an indispensable component of health. Sleep, like water, food and air, is a basic human need. The amount of sleep required by human beings varies at all ages, with the most for infants and the least for the elderly, while normal sleep time for adults is about 7 to 8 hours per day, and sleep time for adolescents should be at least 9 hours per day. However, since everyone’s sleep needs are different, it is difficult to use the total length of sleep time as a measure of the quality of sleep. Therefore, as long as you can ensure a certain amount of sleep time every day, and at the same time, you can feel the full recovery of physical strength and energy after waking up, so that it does not affect the normal work and life during the day the next day, you do not need to overly pursue whether you have reached the so-called 8 or 9 hours of total sleep time. But now young people due to the daytime work pressure, nerves too nervous, or night life is rich and colorful, K songs, bar, playing cards and Internet, to sleep when the mood can not relax; elderly people due to the reduction of physical needs, physical discomfort, easy to cause difficulty falling asleep or easy to wake up, so insomnia is a very painful thing. We call it insomnia when people have difficulty falling asleep or waking up early at least three nights a week, accompanied by daytime distress or affecting social functioning. If people have trouble sleeping occasionally for a few days or just one day in their normal life, it is not considered insomnia, and sleep can generally return to normal on its own through the adjustment of daily habits. Only if insomnia occurs for a long time, after a long period of abnormal sleep time and physical discomfort during the day, then it can be called insomnia symptoms. If insomnia persists for more than 3 months without relief, then it is chronic insomnia, and patients with chronic insomnia need to receive medical intervention. The treatment of insomnia mainly consists of allopathic treatment and symptomatic treatment. For example, if the primary cause of insomnia is depression, after antidepressant treatment, the patient’s mood will improve and so will the sleep; symptomatic treatment mainly includes medication and cognitive-behavioral therapy to change sleep behavior. The main drugs for treating insomnia are tranquilizer sleeping pills (such as eszopiclone, clonazepam, etc.) and non-tranquilizer sleeping pills (such as zopiclone, zolpidem, etc.). In addition to these, there are some antidepressants and antipsychotics with sedative-hypnotic effects, such as mirtazapine and quetiapine. Because each of these drugs has its own characteristics, patients should use them under the guidance of a doctor and should not take them on their own. Regarding the use of sleeping pills, we need to know the principle of using them, which is: “take them as needed and intermittently”. “On-demand” has two meanings, one is that if you really need to take, then take, do not worry about the side effects of drugs and forced to endure the pain of insomnia; second, if the sleep has improved, no longer need sleeping pills, then reduce or even stop the use of sleeping pills. “Intermittent” medication means not to use the same kind of sleeping pill continuously for a long time, because sleeping pill if taken continuously for a long time, it is easy to develop tolerance, dependence, etc. Cognitive behavioral therapy for insomnia is mainly divided into the following: 1. Develop good sleep habits: regular exercise, adhere to five times a week, each exercise for more than half an hour, avoid strenuous exercise within two hours before bedtime; control the intake of coffee, tea, and avoid drinking at least 8 hours before going to bed; do not use alcohol to hypnotize; dinner into the easily digestible food, avoid too full or too hungry; before going to bed to avoid Perform overexciting activities, such as watching action movies, listening to rock music, participating in debates, etc. 2, cognitive adjustment: with the knowledge of sleep, explain and guide the insomniac friends, make them understand more about sleep, reduce the unreasonable cognition and fear of sleep anxiety, and fundamentally break a vicious circle of anxiety because of insomnia, and the more anxiety the more insomnia. 3, behavior therapy: behavior therapy is mainly relaxation training, relax the patient’s tension and anxiety, better and faster into sleep. 4, hypnotherapy: hypnotherapy is the application of certain hypnotic techniques to put people into a hypnotic state, and positive suggestion to control the patient’s state of mind and body and behavior of a psychotherapy method, through positive ideas to eliminate anxiety, tension, fear and other negative ideas. In conclusion, in our daily life, we should master more self-regulation methods so that when we find ourselves troubled by insomnia, we can maintain a peaceful state of mind, treat insomnia positively and optimistically, and choose the right way to deal with it and seek professional medical consultation and treatment to avoid bringing more harm.