When an employee has sexually harassed a co-worker, employers can avoid liability by acting fast to fix the situation as soon as they learn about it. General rules: If an employee complains, investigate promptly. If the alleged harasser confesses, immediately take steps to end any further harassment.