Yeah, it used to happen to me often too. One thing I started to do that was very effective in solving this. Is start shouting this is a dream as loud as I can. This not only kept me Lucid, but also caused some very strange and interesting effects on the environment. You could also just keep saying this is a dream quietly to yourself over and over. doing this, you will start to forget less and less. Most of the time now though, I just do several reality checks as needed to keep me Lucid. Like pinching my nose and breathing, and pushing my finger through my hand.

Welcome to Dream views.