Guys my crush’s friend asked me out now what?

I have a crush on a guy who has a girlfriend and I think he likes me back. They have a long distance relationship and I’ve been respectful of the fact he has a girlfriend. We do flirt but that’s all. His friend recently asked me out and I said yes. Now the guy I have a crush on is avoiding me. Should I tell his friend no now? I’m confused
Guys my crush’s friend asked me out now what?
Post Opinion