The worst kind of stress you can bring to yourself as a married man is breaking your wife's trust. It can be so hard to rebuild it.
However, there are several things you can do to win your wife's trust if you broke it or if you've never convinced her to a point of trusting you.
You need her to have pure trust in you? You have to stop hiding things from her and this is what I mean by being ruthlessly transparent. Facts don't lie but people do.
Give her access to anything you think she uses as a reason not to trust you including your devices like phone and computer. Let her check your email, text history, social media and so on.
2. Keep no secrets
A couple that stays open to each other creates room for trust. Openness broods trusts. As a man, keep no secrets from your wife. Your marriage should be a place you feel safe to divulge anything.
Your thoughts and feelings should remain known to your wife. With this, she will feel like she is indeed part of you and of course, she will develop some trust for you.
Upon realising that you have done something that is unhealthy to the relationship, you should apologise without having to be reminded. Be honest with what you did and always don't give silly reasons for doing them.
Do not defend yourself when you know you are wrong. When you do that, she feels hurt and useless before you.