Dear new guy -
Good for you that you are concerned about your problem enough to post here. Your post makes a few things clear:
1) you feel you need help with this problem and can't make it on your own,
2) you have had the problem for a while,
3) you recognize it is a breach of your marriage trust, not just a personal issue.
This site is a good place to start. Clearly you want to stop but you do not make clear exactly what you want to stop doing. True, this open forum may not be the place for you to clarify further, but through this site you will find friends with whom you can be clear and honest with about the exact nature of what is going on. That will certainly help tremendously. "We are only a sick as our secrets."
Telling your wife about it right now may not be the best idea. Find friends here for that and then have help to decide when, what, and how to tell your wife. In the end, the honesty and openness of your relationship with your wife may be the best indicator of your recovery from this problem. The hiding and lying we do to maintain our sick behaviors are a festering toxin for us, for our spouses, for our marriages and relationships, and for our kids, too.
Your recovery from this does not depend on her, only on you: to reach out and open up. You will get the help you need from Hashem, eventually. Whatever struggling/hiding tactics we were using before are exactly what got us here and is obviously a waste of time. You are now in the right track, b-ezras Hashem.
I and others on this site and elsewhere wish you the best with our whole hearts! It may not be a picnic at times, but it is by far better than the alternative. In many cases we have found that our relationships with Hashem (and with our spouses) could only actually grow once we found a solution to our sick behavior. Hashem can do anything.
Love,
Dov