As with so many other things, there is no substitute for integrity. Give someone a legitimate reason to doubt your integrity, and they will not look at you the same.
Do what you know you are supposed to do, and don’t do the things you are not supposed to do. All the time. It really is this simple.