It can be overcome very easily by having a zero tolerance policy but make sure the punishment fits for termination is not always the best choice. By sending a clear message from management down that this kind of conduct, whether it be from a man or from a woman will not be tolerated at the job. Education of the employees is also very important. Knowledge of what is and is not sexual harassment will curve a lot of the problems work places will have as long as it is accompanied by a reporting mechanism that works. Quid Pro Quo is the sexual harassment that a person in a position of power would ask for sexual favors for returns of benefits in the workplace.
Hostile environment is when the individual creates a offensive or intimidating environment.
Sexual harassment is not telling someone that they look nice today or asking someone out on a date it is a constant uninvited sexual advances from another employee. Basically, ensure that everyone is aware of what sexual harassment is, the company's policy, the consequences for such actions, and the way to report the incident.