Hey. From what you are describing, my best guess is that maybe you are just experiencing "sleep paralysis." I experienced this lots and lots of times before. I used to be very scared too. However, its not dangerous at all.
In addition, the state of sleep paralysis can work as a transition stage to induce lucid dream as well.

hope this helps.