It's different strokes for different folks, init. Sometimes people do change when they get given a second chance, sometimes they don't. I don't really think there's a catch-all solution or answer to questions like this. I've known people throughout my life who have made it work after a cheating incident, I've known people who couldn't make it work, and I've known people who couldn't try again because that trust barrier had been broken forever.
I don't think I would carry on these days after trying to in the past. In my very first "long-term relationship" when I was about 15, I got cheated on and, in response, almost did some cheating myself - I felt hideous after getting cheated on and I felt nauseous and wracked with guilt that I'd seriously contemplated it. So far, more than a decade later, it's been enough to put me off the idea for life. From my own experiences, and from friends, it rarely ends totally happily.
For the rest of that relationship I carried two heavy stones around with me the entire time and it was fucking miserable. One for how bad it felt to get cheated on, the other for how bad it felt to know I was inches from becoming that kind of person. Feelings aren't a crime, thinking things isn't a crime, it's just how you act on those feelings and thoughts isn't it. With life and marriage and love, you go through a lot of stuff and I don't see how cheating is an answer to any of it.