Why add insult to injury? The most compassionate thing you can do to someone you cheated on is to deny, lie, and deny some more.
Even if you do want to leave them, lie and deny.
Even if she’s throwing dishes at your head, lie and deny.
Under no circumstances should you ever admit infidelity to your girl/wife.