Sometimes it just happens randomly. I had a few lucids that way long before I had ever heard of lucid dreaming or reality checks. Of course, being aware of these things helps to keep it in the forefront of your mind, and makes it more likely. The more you think about lucid dreaming, the more likely you are to experience it.