A HIPAA violation occurs when there is an unauthorized access, use, disclosure, or breach of PHI. Examples include discussing patient information in public areas, leaving medical records unattended, or failing to log out of electronic health record systems. Nurses must be vigilant in adhering to HIPAA guidelines to avoid such violations.