When a boundary violation occurs, it is important for the nurse to address the issue promptly and professionally. This may involve having a candid conversation with the patient to re-establish boundaries, documenting the incident, and seeking guidance from a supervisor or ethics committee. Continuous education and training on boundary setting can also help prevent future violations.