Hello

Last night I get aware that I am Dreaming, But I lost my Lucidity and I woke up

Why? and any solutions?