When an error occurs, it is crucial to follow a clear protocol. First, ensure the immediate safety of the patient by addressing any harm caused. Second, report the error through the appropriate channels to facilitate transparency and learning. Third, conduct a [root cause analysis]() to understand the underlying factors and implement measures to prevent future occurrences.