need advice

Kaili😋
So my boyfriend of a year and a half randomly broke up with me a few weeks ago. His reasoning was very vague and basically he just said he wasn't happy in the relationship anymore and then the next morning he texts me saying how much he messed up and that me and our relationship were the things keeping him happy and that there's something else going on to make him unhappy. Obviously I still love him and I told him I didn't want to breakup either and I want to work this through but he broke my heart and I'm having a really hard time re opening my heart up and trusting him and I just don't see how things can go back to the way they were, so does anyone have any advice on how I can help get things back to normal?