Yes, find out why you yourself sex starved the marriage. Fix that in you. Even if you don't work it out with your wife. Don't take this problem into your future.
The other woman symptom for you as revenge. Does that sound like a loving husband? Something else you never want to take to your future. When you go outside the marriage to someone else for something, this is known as a band aid approach to your problem.
I was taking Wellbutrin to stop a smoking problem. Because I was trying to fix a situation about me that my wife didn't like. I myself most likely didn't give Wellbutrin a chance because after the third day I was worse. I stopped taking it.
Funny I stopped smoking too.
Let me tell you now. I feel incredible and I didn't take a chemical to fix it whether in a medication form or adult beverage form.
You have to do what is healthy for you. If you feel like you are at the end of your rope, tie a knot and hang on.