What to do help please

Been with my boyfriend for 2 years and I can't help but keep thinking about my ex which is now my boyfriends best mate what should I do