For some, cheating feels like a relationship death sentence. Others see it as a rough patch. It fully depends on your willingness and ability to forgive such a thing.
What we can suggest is talking about cheating before it happens. Define what “cheating” means to you and how it would impact you both.
For some – even texting other people behind your back is cheating, while for others it includes actaully having sex. Define what it means before someone “accidentally” cheats because you have not discussed where the line is.