Cheating

Is it ever okay to cheat? I love my boyfriend genuinely but I kissed my guy best friend and I didn’t tell him it’s almost been a year now. I love him so much and I would be heart broken to lose him. I know it won’t happen again. Should I tell him!? I know he won’t take it well and he’ll end it with me and I can’t stand the thought of us breaking up