How to get over a breakup?

Ok so I still love my ex, and I want to talk to him. Even as friends. We broke up a day ago so shame on me for being over dramatic and whatnot, but I need advice😩 this is tearing me apart