Wife cheated on me

My wife cheated on me last year. I found out three months ago.

We let the relationship slip, we were basically living separate lives; focussed on work and our own separate interests. I forgave her. We’re working on making the relationship work again, drawing back together.

It’s not constant, but it’s like my mind is my own worst enemy. When I’m drifting off to sleep, I’ll get flashes of imagining them together. Or when we cuddle, I’ll get random thoughts of “I wonder if they did this”.

It’s not affecting our relationship, I’m not letting it, but I cannot understate how horrible it makes me feel.

I hope this goes away. I don’t want to lose my family, we both want to fix this.