ADVICE PLEASE LOL

How can you get over someone that was your sneaky link situationship that now he has a girlfriend… I’ve been sad lately because every time I encounter him at school he’s always with his girlfriend hugging at lunch and grabbing hands walking to classes 😣