Guys, would you confront a guy if they were bothering a girl you really liked?

Updates
+1 y
A guy at work was bothering me and making me uncomfortable so I told my boyfriend (who also works with us) and now suddenly that guy isn’t messaging me anymore
Guys, would you confront a guy if they were bothering a girl you really liked?
Post Opinion