Love my bf but dreams of hs sweetheart

Blair

I am 30 and with the man I plan to marry but I constantly have dreams, obsess about my ex of 11 years from high school until I was 25. I’m over it but why does my brain keep doing this? He’s married with children. Advice?!?