It means to be judged unfairly or to have a bad reputation when it’s not true.

steći lošu reputaciju; doći na loš glas

 

 

      ,