Sad thoughts and frightening fantasies are especially common before going to sleep. It is important not to let them take over your mind and enter your dream