Focus for now ONLY on doing what YOU need to do to make YOU the best, most confident MAN possible.
If you don't have them yet, get and read "No More Mr. Nice Guy" and "Hold on to your N.U.T.S." Once you have finished those (and probably read them again) there are others.
Get your confidence back, for yourself. Start working out. Go out with the guys. Start spending a small amount of $ on yourself - get yourself new clothes, a haircut, etc. There is a whole list, but I am sure you know what you need to do to be able to say "I am me, I like myself, I take care of myself"
This isn't selfishness - this is standing on your own two feet.
You aren't alone here - there are a lot of us who are or were in your shoes in one form or another.
I was - 9 months ago.
Me 42, W 39, S8, S6, S2 M 11y, A & ILYBNILWY 11/08 Walking away from a bad situation.