Spying on cheating wife - best methods

Oh, I’m not really sure about this, but I think some people use tracking apps or things like that—at least, that’s what I’ve read somewhere. But maybe there are other ways to handle suspicion? Like talking things through or maybe even going to therapy? I don’t really know all the options or which ones work best. Has anyone here tried something different that helped?