There are degrees of lucidity. Sometimes I become lucid in a dream and can't remember my goal, or I don't even think to remember. Other times I remember right away, and my consciousness is just like being awake.
Others have already given good advice. Even if you don't remember your goal the first few times, just keep practicing and you'll get better at it.