How do you perform root cause analysis (RCA) for a production defect?

Technical