Fantasising about other guys?!

I'm in a relationship with a guy and we have been going out for a year. I love him to death, but lately I've just been really bored in the bedroom with him and I'm not really in the mood for him. I'm always thinking sexually about other guys especially my best friend. What is wrong with me? How can I fix it? Because my boyfriend is beyond perfect :(