What do you do if you know your spouse is cheating with another service member?

If you have clear evidence, take it to your commander. It is a violation of military regulations and is charged under Article 134 of the UCMJ. It is a Courts Martial offense.

Be certain to use the chain of command: Top, the CO, etc.