Need some help!! please😋

I'm 17, I've been with this guy for the past 3years on/off.. We finished for good over the summer because stuff happened that wasn't suppose to happen.. Things between me & him are very very complicated not even my friends can understand us, because we fight one minute but the next were friends..we've tried being friends in the past but that never worked out and we ended up not talking for awhile when did get back talking stuff happened between us and a week later he ignored me never texted me back.. We then meet up again but this time we get into an argument and are stuck with each other for a whole day due to being in the same care together because our friend was driving us around.. But anyways got into an argument I went home and that was the last time we spoke, he had been so horrible to me.. I find out a week and half later he has a new girlfriend and he is still with her, that was a month ago when all of this happened and now he's happy and has moved on while I'm stuck here deciding on what to do, its my last year in school and next year I'll be moving on to college I can't keep thinking about him and trying to work things out when there's nothing there in the first place I need someone to give me some sort of advice so that I won't go back to him and make the same mistakes someone that has been through what I've been through, btw he's cheated on me everytime we were with each other for the past 3 & half years, please someone help me, help a girl out 👐👐