How can a marriage increase its chances of surviving infidelity?

It's not so much the "marriage", it's the two people involved in the marriage. Individually we have unique backstories, some more intense than others. Whatever baggage, experiences, histories we bring to a marriage will be included within the framework of the union. How we individually choose to react to our story in relation to our mate