Negitive side effects?

I had the WORST nightmare last night, Or maybe it really happen.. uhh i don't understand. I turned on my light, and it was still happening, I had a half cigarette laying beside my bed, and i smoked it last night, and it was still happening. So i was awake enough to turn on my light and smoke, and it was still happening, so i wasn't dreaming.. so it was real.. so there is something very wrong with me. So spooked right now, So spooked. I was probably..active dreaming? Like sleep walking, but sleep smoking....I should hope that is more likely then it really happening. Whenever scary things happen, in any aspect of my life, all i feel is overwhelming regret in one aspect. ugh.