Boy trouble

I have a boyfriend and we have been together for 5 months now and we have done sexual things but lately I have been thinking about my ex a lot. And I think I still love him. I don't know what to do! Help