Very confused and very depressed :(

Me and my boyfriend had been dating for 3 months. We both got out of bad relationships at the same time and we were close friends from the start, we started dating and everything was great, I was stress free and I had never been so happy to have anybody like him. He told me he was stressed from sports and his parents and said he needed a break, I was perfectly fine with that and he said we'd still be friends, the next day he wouldn't talk to me, somehow he won't talk to me but he became friends with his ex who "ruined" his life. With only a week until school starts I'm stressing bad, we have classes together and i want things to go back to how they were, somebody please help me, I've tried everything