Ex boyfriend

So me and my ex dated for 6 months, we had sex,we said i love to each other and we were like best friends. One day he started to change, next thing i knew he broke up with me for no reason. Then we got back together a month later and then we were on and off but it was never the same. With our most recent break up he said that no matter what he still loved me and that he just didnt have time with 2 jobs yet he found time to hang with the guys.. im just wondering if anyone has delt with this before and how you handle it?