Reflection in Action

Donald Schön‘s 1983 book The Reflective Practitioner introduced concepts such as reflection-on-action and reflection-in-action which explain how professionals meet the challenges of their work with a kind of improvisation that is improved through practice. However, the concepts underlying reflective practice are much older. Earlier in the 20th century, John Dewey was among the first to write about reflective practice with his exploration of experience, interaction and reflection. Soon thereafter, other researchers such as Kurt Lewin and Jean Piaget were developing relevant theories of human learning and development. Some scholars have claimed to find precursors of reflective practice in ancient texts such as Buddhist teachings and the Meditations of Stoic philosopher Marcus Aurelius.
Central to the development of reflective theory was interest in the integration of theory and practice, the cyclic pattern of experience and the conscious application of lessons learned from experience. Since the 1970s, there has been a growing literature and focus around experiential learning and the development and application of reflective practice.

https://en.wikipedia.org/wiki/Reflective_practice