Wikipedia has an encyclopedia article about this subject:

A lucid dream is usually defined as a dream in which one is aware that one is dreaming. Once a person becomes aware that he or she is dreaming, he or she can do anything imaginable. Uses of lucid dreaming include confronting fears, problem-solving, and having fun. Some people have lucid dreams without any effort, particularly during childhood. For most adults and adolescents, however, some active participation is required in order to experience lucid dreams with any regularity.

Induction Techniques

See full article:

Several techniques have been developed by the dreaming community. They can belong to two different categories: the wake initiated and the dream initiated. Finally, there are the aid techniques, which are combined with others for best results.

Wake Initiated

These techniques will lead to a lucid dream directly from the waking state. They mostly consists of staying conscious until the dream starts. They are harder to master, but worth it, as you can then induce a lucid dream at will.

The most known techniques on this section are:

Dream Initiated

These techniques are only applicable for becoming lucid when you are already dreaming. They mostly consists of recognising the dream state by questioning reality.

The most known techniques on this section are:

Spontaneous lucidity also falls under this category.

Aid techniques

These techniques do not belong to any particular section, and work only as an "aid" for other techniques. they can be combined with other techniques for better results, or just performed alone.

The most known techniques on this section are:

Community content is available under CC-BY-SA unless otherwise noted.