Getting over a Douchebag

I just ended this "friendship" with this guy who I thought was my friend. He made me feel like I was less than. He knew some of my dark past and knew that I had issues with self-esteem. But yet, with him, I felt like that insecure girl all over again. A couple weeks before completely breaking off communication with him, I admitted that I had feelings for him. He went off on a tangent about how he doesn't directly tell the people he like the he likes them and some shit about how he will show the person he's interested in that he is interested. Yeah, so I still don't know how he truly felt but I'm pretty sure he didn't feel the same about me. He never made the effort to see me. I'm old fashion asf and never felt comfortable being the person always trying to make appointments to hang out with him.

Moving forward, he began texting and behaving oddly. Like his texts were brief and he acted as if he was mad at me. I got fed up emotionally and mentally and ended the relationship realizing I felt too much time feeling self-conscious. Y'all, I can go on ALL night about how he was a Douchebag, but for now, just know that he wasn't good for me. Obviously he didn't give a damn about me because he made no effort to continuecommunicating with me after he gave me an attitude. Like, when we stopped texting each other(we texted everyday), he continued to snap me and tried to keep our streak. I snapped back but stopped. I couldn't take it anymore. Like why snap me when you don't actually talk to me anymore? I didn't and I still don't understand him. So there was no closure for our relationship. And here I am again, abruptly ending another relationship with a guy. ARGH I can really rant all night.

How do I get him out of my head?