Employees who complain about alleged discrimination, either to their employer or to an agency such as the EEOC, are protected from retaliation. Ordinarily, that requires a so-called adverse employment action like discharge or demotion. Lesser actions, such as a lateral transfer, don’t count.