How can employees successfully handle harassment coming from a superior who is protected by the HR department? What happened? My first job out of college

How can employees successfully handle harassment coming from a superior who is protected by the HR department? What happened? My first job out of college
When meritocracy is undermined by superior whose advances have been rejected – how can employees, HR, and management overcome such problems? What happened? I have