If you want a termination decision to stand up in court, make sure you carefully document all discipline that occurred before the firing—and do so at the time the discipline occurs. Otherwise, chances are a court or jury may assume the earlier incidents didn’t happen.