Getting over an asshole

So a year ago from now i started talking to his boy and he would alwayssss text me for a whole year asking for nudes and shit and sometimes cute but mostly sexual. Idk why but i was in loveeee with this boy. I thought he was the cutest thing everrrr. Now i barely see him and when i do i’m always awkward and embarrass myself and he doesn’t even text me anymore and never talks to me. He only talks to me when he tries to get his friend to talk to me bc his friend likes me. And it’s been a whole fucking year and i’m not over him but i don’t exactly like him. He’s not in my school which is cool but he such and asshole to me. I also sent him sexy pics over that year and i feel that’s what ruined my chances with him and i only sent them bc i liked him. I rlly just want to get over this dude but it’s so hard even tho he’s such an asshole. And now he doesn’t even talk to me anymore ughh he just used me and never cared about me meanwhile i care about him so much and always end up revolving my time around him. How do i forget about this asshole