Getting over someone

I'm in highschool and dated someone for a year and a half, last night we broke up, good terms and the only way I know how to get over someone is hating them, how do you get over someone?