I’m still not over my ex. It’s been two years

I’ve been with my current bf for 2 years yet I still can’t f-ing shake my ex. I was just thinking about him so looked up his fb, found a photo that he looks really hot in and just imagined scenarios between us, made my heart start thumping really hard. That relationship was so toxic - I need help