What is the most effective and basic way to treat insomnia?

  Develop good living habits!  1, try not to nap or snooze during the day to ensure the quality of sleep at night; avoid sedentary, get up and move for at least 5 minutes for every 50 minutes of sitting to improve blood circulation, learning and work efficiency of the whole body.  2, adhere to the daily 4 to 5 pm before dinner aerobic exercise (such as brisk walking, jogging, swimming, cycling, etc.) for 30 to 40 minutes to help improve night sleep; but such exercise should be avoided within 3 hours before bedtime, so as not to cause a state of bedtime excitement.  3, the bedroom light and temperature should be appropriate, reduce noise, choose a comfortable mattress, pillow.  4, the correct way to sleep (1) early to bed and early to rise, it is recommended to start bedtime preparations at around 10:00 pm, such as washing, relaxation, foot soak, etc.; no longer do anything unrelated to sleep, such as watching TV, listening to music, talking, drinking tea and coffee, smoking, thinking, etc.  (2) do not sleepy do not go to bed, if not sleepy, it is recommended to sit quietly in the bedside chair (do not look, do not listen, do not want to move) for 30 minutes, and then go to bed when there is sleepiness. If you can’t fall asleep 30 minutes after going to bed, you should get up and meditate.  (3) No matter how late you go to sleep, you must get up on time in the morning to improve your sleep rate.