Been there, done that. Anyone who hasn't is underqualified to provide advice.
Keylogger, find out what's happening.
If an affair EXPOSE to her family and friends. Same for him. Seriously screw him over with it.
File, protect your assets. Don't bother trying to "save it", the resentment will...