The best way to avoid the police is obey the law.
The vast majority of people will go their whole lives only dealing with the police 1-2 times at most and usually only because they got pulled over for something legit like speeding. People who claim they are constantly being harassed by police and can recite numerous encounters are doing things to bring police attention on themselves like committing crime or driving poorly all the time.