Break up

Hello there. Me and my boyfriend of 3 years just broke up. He said he needed to figure to himself out and that I’m still his best friend and everything. To the ladies that have been in a long relationship and you guys have broken up how do you get past all the things you guys went through and how do you forget? I’m heartbroken yes it hurts but part of me saw it coming. I just want to hear people’s opinions