Getting over fuckboys

I've liked this guy all last year and we flirted a bunch but he's a total fuckboy. We have classes together this fall and I don't know how to ignore him/ get over him. Advice?