How to track a cheating spouse

Has anyone looked into how to track a cheating spouse lately? Any advice or warnings?