What should I do if my friend and I like the same guy?

I've known my best friend since we were kids and we've always had each other's backs. She recently told me she's in love with a guy and I'm so excited for her. But the thing is, I'm in love with the same guy. He confessed to me right before the pandemic started but I respectfully kept quiet. I've tried to move on but honestly, it still hurts a little. We haven't seen him since March and now I know I'll be seeing him again soon and it's making me conflicted. Should I tell my friend, even though I'm afraid he'll feel betrayed for not telling him sooner? Should I tell him that I like him even though I know I might hurt him? I'm just looking for some advice and moral support. Are there others in a similar situation?

What should I do if my friend and I like the same guy?
Post Opinion