I don't know what to do

I know it's wrong.. But I emotionally cheat on my bf.. For some reason my bf is becoming more distant from me, I know he's not cheating, and I always ask him if he finds my attractive(he says yes) but my side guy is my first love ever.. It's a very complicated story( 7 years ago, I started dating my current bf.. I left him for my side guy who I ended up falling in love with and losing my virginity to, side guy cheated on me repeatedly and eventually left me, started dating current bf again and started falling in love with him, current bf has been nothing but loyal and devoted to me) but now we have problems, side guy gives me attention when I need it, but I'm trying to work things out with my bf because I love him so much, but what is there that I can do when my bf won't help me help or relationship. I don't want to do this, I try and refrain from doing this, but idk why he's becoming so distant... Help?