Working with the woman my partner cheated on me with

I live in a small town with 1 hospital. The woman my partner cheated on me with works near the same unit and I’ve ran into her a couple times. I find it so triggering and it makes me wonder what it was about her or what she has that I don’t. I try to keep it out of my mind during work hours, but when I get a moment alone those thoughts swarm me. Ive been thinking about finding elsewhere to work bc it’s not healthy with the constant triggering and I’m not in the line of work that can afford to have such heavy thoughts in the back of my mind. Is there any advice or anyone with a similar experience? I feel so conflicted