The reason for shouting in bed at night is as follows: 1. Clinically, it can be a kind of sleep seizure, if necessary, the patient needs to be given an EEG or video EEG, and if it is determined to be a sleep type of epilepsy, the patient should be given medication to control it. The patient should have a regular lifestyle and avoid all triggers that can induce seizures. 2. Screaming in bed at night can also be seen clinically when the patient is overexcited during the day, or when the event stimulates the patient to dream. This is a good idea to avoid overthinking or doing exciting things before going to bed, soak your feet in warm water, and listen to soothing music to get a significant improvement. 3. Sleeping and screaming at night can also be seen in some patients with mental illness, such as schizophrenia, so it is recommended to consult a psychiatrist.