You probably need to go for some professional counseling with your husband.
Get it sorted out and be clear about it.
It will take time to build up the trust again.
I believe you would like to save the marriage, rather than go separate ways.
Do consider all the various solutions and outcome clearly before making any decision.
Save The Marriage, Even If Only You Want To