Boyfriend and crush

So I have a boyfriend for almost 11 months now. But everytime I see this one boy in school I just wanna talk to him and do other stuff... I think about my crush more then my boyfriend.. I love my boyfriend to death though sometimes he's Just a dick and my crush don't treat me like that. What to do??