How do i move on from the past..?

I bf cheated & i can’t seem to move on.. it’s been a few months and randomly it’ll anger me & make me so hurt.. we live together & unfortunately I’m under no circumstances i can move.. if i could i would’ve by now looking for advice on how to emotionally detach from this man 😭