Practise the thinking. Keep the judgement.
反省 — Reflection on one's shortcomings
はんせい
hansei
Meaning
Reflection on one's shortcomings
Original example
失敗を反省して方法を変えました。
I reflected on my failure and changed my approach.
Cultural context and nuance
Usually looking critically at one's conduct, rather than neutral contemplation. 反省する need not mean apologising publicly.