ex-boyfriend problems

Okay so my ex is lowkey, a dick right, he’s saying all this shit about me right, and he is like “get over me already never going to happen again” but like we have english class right and i over heard him talking about me, but i don’t understand because if he “hates” me then why talk about me. my locker is also near his so i have to walk past it everything i go to class and his friends always talk about me, so i guess what i’m asking is, what the fuck should I do about it?