Did this happen when you laid down first thing at night to go to sleep? If so, know that it's harder to have a lucid dream at that time.

I get that a lot when I first lay down for core sleep. A handful of times I'll realize that I've started to dream and at that exact moment I wake back up. It's best to just try get to sleep and wake up again after at least 4 hours, then try to have a lucid dream.