You can never fully understand a woman, but as a man, you shouldn't waste time explaining yourself like a child. If you catch her cheating, cheat back. If she catches you cheating first, stay silent. The reason she is bringing it up is because she feels guilty, since she has probably cheated too.