Doing what’s right is more important than your reputation.
Make yourself of no reputation. Just do the right thing because it’s the right thing. If you get crucified for doing it, so be it.
Do good because you care about doing good. More specifically, because you care that other people will benefit from the good you do.