Welcome to your teen years.
It's a time of fickle feelings. So - best things - take your mind off him by doing other things. As in, hobbies, socializing with friends, exercise, learning to drive if you're old enough, and, during the school year (shock, horror!), your schoolwork.
Have a life where you are so busy with other things that you don't have time to think about him.