The answer to your question depends on what kind of relationship you want to have with your husband. How would you feel if he did the same thing? And remember, you are not hiding anything from God and probably not your husband either. Humble repentance is a difficult thing, it takes a lot of character to do the right thing sometimes.