advice?

I walked in on my best friend and boyfriend of 3 years having sex it has really taken a toll on me even 5 months later I’m not sure how to move on from this... both show “regret” but thats unforgivable