Breakup advice

Emily

I had a boyfriend for about 3 months, and he was the first serious relationship I’ve had (he was also my first). But due to some mental health and family issues, he broke up with me last week. I still really like him, and I have this false hope that we could maybe get back together at some point. We are still going to be friends, so it’s not like I’ll never see him again, but I am worried when I do see him again I’m gonna be a wreck. Does anyone have any advice on, well, any of this?