I wouldn't do anything differently. I'd just stop thinking up ahead of time the conversations that could potentially occur between me and the person who judged whatever I do/did, and trying to to think up ways to justify/explain my good reasons for what I do (in my attempts to prevent unfair judgment for actions that are misunderstood). In other words, I'd stop letting other people's harsh judgment of me become one of the "inner voices in my head" and spending my brain time defending myself to myself.
(By the way, I know one answer is stop caring what others think. Much of the time I don't. When it comes to dealing with "judger" we need to relate to on a regular basis, it isn't that easy because judgers "relate back" from their point of unfair (and often ignorant/premature) judgment, and that doesn't make for healthy, two-way, relating.
A spin-off answer to the above point might be to get anyone who judges out of our lives; but until people stop judging other people, that pretty much means getting everyone out of our lives - which isn't the healthiest thing either.)
I think, for a lot of people, it can be easy not to care how strangers judge us. Not caring how the people in our lives judge us can be more challenging because it means not being able to relate to them the way we should.)
So, what I'd do differently would be able to stop spending so much time in a "defense mode", even when I'm by myself and only "imagining up" what harsh judgment will be headed my way over one thing or another.