Guys. I need help!

So, recently I just found out that my best friends friend likes me. I don’t know what to do because I like my best friend. I know my best friend doesn’t like me and I’m confused. I don’t want to give up a sure thing with a guy that likes me, but I don’t want to stop trying with my best friend! What do I do?