How can a person be sorry about getting caught in the act of doing something bad like cheating?

Like cheating in a relationship or something.
How can a person be sorry about getting caught in the act of doing something bad like cheating?
Post Opinion