Boyfriend and my best friend

What would you do if you found out your boyfriend had sex with your best friend one night when he though y’all were broken up?