How do I get over a breakup, while still being friends with them?

Me and my boyfriend recently broke up, but didn't want to go no contact. We didn't want to ruin a friendship that has been on all this time. We still talk (it's been 3 days so..), but it seems like he's not that affected, like he told me he thought about it so much and he decided this months ago. I still really love him.. But I don't want to break contact with him. I just want to get over this bullshit.. What do I do (without breaking contact pls)?