How to act when in love with someone in a relationship (and also in a relationship lol)?

Anyone ever been in this terribly awkward situation of falling in love with a friend while you're both in relationships? What's the best way to navigate this, how did you figure out they loved you back (or didn't) and what did you do subsequently?
It feels like having a crush where the stakes are much higher because I don't want him to know for 2 reasons - one being that he might not like me back (normal crush reason) and the other because he might think I'm an awful cheating human being (added layer of being in a serious relationship)
I should add that I'd potentially leave my boyfriend for this guy but it's reallyyyy hard to say
How to act when in love with someone in a relationship (and also in a relationship lol)?
Post Opinion