Awareness of one's own mental activities and the ability to direct them is called metacognition.
Thinking about your thinking