My best friend's ex

hey I have a massive crush on my best friend's ex boyfriend. They are friends still so they didn't end badly. I dont know what to do. I feel like he likes me too but I don't want to hurt my friend (she has a thing with another dude)

What should I do