Boyfriend vs. Ex boyfriend

Cashmere
I'm in a relationship, but yet I keep thinking about having sex with my ex. I feel guilty about it, but I don't know if I should tell my boyfriend.