The symptom of unconsciously getting up and completing complex movements during sleep, such as going up to a room, climbing a tree, etc., all of which one is unaware of, is caused by a dysfunction of the cerebral cortex. It is also called sleepwalking disorder. Sleepwalking is apparently a mutated state of consciousness. The patient loses contact with the surroundings and the patient seems to live in a private world. The patient is sometimes very emotional and even speaks a great deal of nonsense, making it difficult for the person next to him to understand what he is saying. The patient seems to be engaged in a very meaningful activity. This activity is often a symbolic reenactment of the patient’s repressed painful experience. After the sleepwalking is over, the patient knows nothing about it. So, what are the preventive measures for somnambulism? The following are preventive measures for sleepwalking: 1. Pay attention to the control of the sleep environment Close the doors and windows before going to bed, and collect all kinds of dangerous objects, so as not to go out and get lost during sleepwalking episodes, or to cause injuries to oneself and others. 2.Reasonable arrangement of work and rest time Cultivate good sleep habits, regular daily life, avoid excessive fatigue and high tension, pay attention to early to bed and early to rise, exercise, so that the sleep rhythm is adjusted to the best state. 3.Pay attention to the protective medical system Do not talk about the seriousness of its condition and its sleepwalking in front of the child, so as not to increase the tension, anxiety and fear of the affected child.