Post break up

My boyfriend of a year and a half broke up with me ... it completely destroyed me because he doesn't love me anymore. He told me he no longer feels the same way about me. I invested so much of myself into this relationship.. and I wanted to fix it but it's over now. I feel so worthless and I loved.. I wish he didn't have to lose his love for me just like that... And I am lost. I don't know what to do... any advice?