just depressed and done :(

I'm honesty going through a really tough time rn. My boyfriend was trying to make me happy but I just couldn't stop crying and I felt so bad about that. Then he started to talk about if we would still be close after we broke up. Before today he said that there's a big chance we won't ever break up and today he was literally talking about when we do break up. I don't know what to do anymore. I just feel extremely depressed from family problems to having no friends. Plus that my anxiety is really messing me up. Hes the only person I have and the only one who understands me. If I lose him I lose everything. I just feel so alone. Thanks to anyone who took the time to read this. I could use some advice or idk :/