While a part of me commends OP for reaching out, I think he knows he needs professional help. I think before they continue with IVF.
I'd also be concerned if they have a daughter. Something about OP makes me very uneasy, and that is rare.
OP please go see your GP for a referral. Today. For your wife's and future children sake.