You need to take care of yourself, and that means not worrying or focusing on the problem. You feel like you do because your mood has been stripped by the situation.
Do the following:
1. Fish Oil supplementation, cost $5-$10 at the store for a bottle of fish oil. Stabilizes the mood and makes it more resiliant.
2. Excercise - This can be several days a week. I'd walk 30 min to an hour a day. Also get into the gym.
3. Diet. Well balanced diet, and also eat foods you enjoy. Will help your mood.
4. Be aroud positive people. Be around friends who are supportive and who enjoy your company. Do something together.
5. As a man - Date. Nothing gets your mind off a "old" woman than a "new" one. It can simply be a friend who likes to spend time with you, and it would be nice if she likes to provide intimacy.
6. Handle your business. Due to the situation, bills can stack up, get out of control. Get it managed, it will make you feel better.
7. Work. Stay ontop of your work, but keep work at work. It helps if you have things you enjoy to do outside of work.
Keep posting. Your supposed to come out of this better than before.
Also negative energy, try to stay away from it. Negative energy sources may be people you used to be around or talk to that supported your wife in her decision to take on a boyfriend. They may inject bad energy and bad kharma into you.