crush on co-worker - need to stop it, but how?

sexual thoughts involving your boss? Or any other strange man? Totally invalid, ofcourse. They’re natural to a certain extent but still invalid, no?