How do I get over him?

Del
So almost 2 years ago my boyfriend broke up with me after being together for 5 months, he was and still is one of my best friends, the problem is ever time I get asked what I'm looking for I'm a man I think about him :(