If I were your wife, I'd suggest counselling for you to figure out why you need to do these things. Then I'd wait to see if you were serious enough to actually go do it for yourself and your marriage. Eventually, possibly both of you should go if there are things she can be giving you but isn't. Your counsellor will suggest, if so. But really, based on your (very guilty) post, it sounds like the problem is largely yours.
Some guys (and gals) need the ego-stroking that attention from others gives you. Go figure out why that is & maybe your wife will forgive you. But keep doing what you've been doing and you'll get where you are going. A big fat divorce, sounds like.
Good luck.
Second thoughts can generally be amended with judicious action; injudicious actions can seldom be recovered with second thoughts.
--Cyteen by C.J.Cherryh