Aside from computer programming, which is kind of a dialogue with the machine and the algorithms, I guess there are two places.
One is repeating stressful potential situations, like interacting with the police. Actually police encounters are not much of a potential, but I am pretty afraid about things going badly in them. Then again, I live in the USA.
Second, if someone is saying something important to me, I'll repeat important words from their speech to myself to net it out and help remember it. I try not to do it verbally but sometimes I do in a high-stakes conversation. Again, it seems to come from being afraid of misunderstanding or mis-remembering and having repercussions.
_________________
I swallowed a bug.