Cheating

I love my boyfriend so much but lately he has been so Moody and we argue so much so today I sex with my ex no strings attached unfortunately it felt good and now I can't get ex out mind even tho I know he wants nothing serious as he too has a gf but he said he did miss me and I missed him I'm so confused