I have a crush

I developed a crush on a friend, he has a girlfriend I didn't know he had a girlfriend otherwise I wouldn't think about him like that. He might like me too but I feel too bad. I ve tried to stop talking to him but it's hard and I can't do it. I hope this feeling goes away soon.