Many years ago, I did an exercise where I made a list of thoughts that I flinched away from. Then, I made spaced repetition cards with the thoughts.
The cards were statements like: “As of March 2009, I am currently uncomfortable with the idea that quitting my job might be the right move.” (Totally fake example to communicate the format.)
I think it was a really useful exercise, and it’s pretty easy to implement, and I basically recommend it to people.
I don’t think the part about spaced repetition software specifically was all that important–I think the idea was that I developed something like object permanence around these mental flinches of mine, and that was the way I accomplished that.
If you try this, I wouldn’t try to force yourself to consider the uncomfortable thought at the object level. I would try to internalize that you are in fact uncomfortable considering it at the object level, and maybe meditate on possible cognitive chilling effects of that situation.
Because, in my experience, human brains are pretty good at back-propagating these flinches, and that can cut off a lot of otherwise useful thought. (The linked article is very good, but includes a framing and approach that are, IMO, importantly different from what worked for me. YMMV.)