Unprofessional behavior may not be illegal behavior. It’s important to act professionally when possible, but everyone makes mistakes. An ill-advised joke. A slip of the tongue. Occasional mistakes do not necessarily create a hostile workplace and can be remedied with retraining, mediation, or other action that’s consistent with your company’s policies.
Consequences will depend on the severity of harassment or discrimination and should be applied equally across all employees in accordance with your written policies.