The best way for a company or other organization to keep its employees from filing charges of sexual harassment is to make sure that they are not harassed. Obviously, this is not easy to accomplish, but there are things that can be done to reduce the likelihood of sexual harassment occurring in the workplace.
First, an organization can have clear policies that are communicated to employees. If policies specifically set out the sorts of actions that will be deemed sexual harassment, and if management clearly communicates those policies, people will be less likely to engage in sexual harassment.
Second, the firm should make it clear that the policies are important to the firm and will be enforced. They should periodically have training sessions to emphasize what the rules are and to show employees how they can avoid harassing coworkers. They should deal with accusations promptly and seriously, showing that they really do mean for the rules to be obeyed.
Finally, it would be helpful to have women in positions of power in the firm. If it is clear that women can rise in the firm, it makes them seem more important. It makes it clear that they are equal to men and sends a message that women are valued.
All of these steps could help to reduce the likelihood of sexual harassment charges being filed.