Helpppppp

So i am totaly completly in love with my boyfriend, he is the best guy ever. And i really really want him to be the one I marry. But my ex ( who is a total asshole) keeps every so often popping into my mind, and idk how to stop having thoughts about him (they are not sexual or anything about us together or something) idk they are just random thoughts. And i don't want that to happen because i want to give me bf my full entire attention and it makes me feel bad because he should be the only guy on my mind. Any tips to help completly like 110% be OVER an ex....cause I'm over him, just not 110%