How to get over a crush?

I see this guy at work everyday. Been having flirty banter for the last few months. Anyway he asked if I had a boyfriend I awkwardly said yes and kinda shyed away from him the next week cause I felt guilty for having a crush. A new gurl starts and she likes him and asked him in front of me if he was married and he said yes and that he has a kid. I still really like the dude but things ain't the same anymore. How do I get over thus crush please help

How to get over a crush?
Post Opinion