Insomnia is a subjective experience of decreased sleep quality and duration that interferes with normal social functioning due to difficulty falling asleep or sleeping consistently. Long-term insomnia will affect the function of the brain and body, and the treatment includes behavioral therapy and medication. 1.Behavior therapy and psychological counseling: correct understanding of insomnia, develop good sleep habits, prevent and correct bad sleep behaviors and concepts, and conduct psychological counseling to eliminate concerns and fears about insomnia. You can try to choose a suitable sleeping environment, reduce the time in bed, get up immediately when you can’t sleep, develop the habit of getting up at the same time every day no matter what time you sleep, reduce or cancel daytime naps, etc. Choosing a suitable pillow and relaxing your body by soaking your feet before bedtime will also play an auxiliary role. In addition, avoid being too full or hungry before going to bed, reduce mood swings, and keep a calm mind. 2, medication: If behavior therapy fails, medication can be used. However, we should pay attention to drug dependence and the rebound of symptoms after stopping medication, and follow the principle of individualized and on-demand medication, and follow medical advice. Commonly used drugs are benzodiazepines (diazepam, eszopiclone, etc.) and non-benzodiazepines (such as pyrazolopyrimidines, GABA receptor agonists and their reuptake inhibitors, etc.) and other drugs that help sleep (such as antidepressants), etc. 3, traditional Chinese medicine therapy: acupuncture and moxibustion, acupuncture point treatment, moxibustion treatment, medicinal food treatment and so on. To sum up, the best way to treat insomnia is behavioral therapy, only to remove the cause to exclude the cause, and treatment of the cause, in order to solve the problem at the root, drug therapy is only symptomatic treatment.