How do you know if you did the right thing?

If it prevents a bigger problem from ever happening, that's how.