Like others said you might have sleep apnea.btw that flash light thing is something i occatianally get also...that and "exploding head syndrome".google it they are related.luckily it's not a thing that happens all the time, strange things can trigger them though, i think creatine pyryvate did...