Advice to get over a bad breakup

I just had a horrible breakup with my now ex. I knew he had tried to cheat once years ago but he and I so badly wanted to make it work and I decided to give him another chance. 2.5 years later and I find in his phone searches for prostitutes as well as other evidence he's cheated. Also other things that he swore up and down he wasn't doing because it "wasn't worth losing our relationship". He had lied me right to my face every single day, wiped my tears away with lies. I don't know what to do now. I know I dont have any STDs from him but I just can't distract myself from this hurt and I feel like I'm going to go crazy 😔 it feels like I'll never meet a guy who is a good person because even he could play the part of the world's best boyfriend but behind my back he wasn't. How do you get over heartbreak?