If you carefully document disciplinary actions and punish all employees fairly, courts will usually uphold your decisions. That’s because an employee who challenges the reason for her discharge has to show that the reason wasn’t legitimate—that, rather, the rationale was merely a pretext for some form of discrimination. And it takes more than just coincidence to do that.