I still fantasize about my ex

I'm engaged, and I am so in love with my fiancé. But sometimes I think of my ex. In romantic ways, mostly in sexual... Like if I'm not turned on before sex I will think of my ex... What do I do?:(