It takes time. Things like this take time to recover from.
You're not going to like to hear that, because you want it over with faster and back to normal tomorrow, but the truth is, it's just going to take months. Maybe a year or two depending on the length of your relationship.
Some things will get better, and you'll find that other things don't bring you as much joy anymore. Big life events like this have a way of permanently changing who you are, for good and bad.
You will find other things to get obsessed about and care about and genuinely enjoy.
Be open to new things going forward, otherwise you might miss the "Next Thing" that will bring you a lot of happiness and joy in life.
As others have said though, don't rush into another relationship. Wish I could have taken my own advice on this in the past. Just...trust me/everyone else when they say that. It's the worst thing you can do.
You need to recover on your own with friends. You don't want to just transfer all those feelings into someone else. It will poison whatever relationship you go to next if you don't deal with your shit and grow from this experience.
You need to be happy being by yourself before you add someone else to your life. Your happiness is found within yourself. Once you discover that, the power relationships have over you is greatly diminished.