I understand that it was scary. I didn't understand well: was it a dream or were you really awake? If it's only a dream, try not to worry, tonight it will go better, especially if you relax. If you were awake, maybe you could see a neurologist.
Good luck