To prevent sleep disorder, we should strengthen the life management and diet management, improve the bad living habits and dietary habits, pay attention to the psychological care of patients, and actively treat systemic diseases to improve the symptoms and avoid sleep disorder affecting the normal life. 1. Life management, to develop the habit of going to bed early and getting up early, increase exercise in moderation, such as playing badminton, jogging, etc., pay attention not to be too fatigued; avoid smoking and drinking. 2. Dietary management, diet should be light, mainly easy to digest food, prohibit drinking coffee and tea and other drinks containing caffeine; dinner should not be too full or too hungry, and should not drink a lot of water before going to bed. 3. Psychological care, family members should be more concerned about comforting the patient, eliminating anxiety, tension, irritability, and establishing confidence in overcoming the disease; follow the doctor’s instructions to take medication on time. 4. Treatment of somatic diseases, sleep apnea syndrome, restless legs syndrome, etc. may cause sleep disorder, and should be treated for the primary disease. If the sleep disorder is mild or transient, after eliminating the cause of the disease, most of them can be restored to normal and prevented from recurring through the above measures.