In a hypothetical country with poor freedom of speech, the police would come get you for criticizing the government or revealing embarrassing secrets. Alternatively, the police might turn a blind eye to hate group's violence against civil rights activists. There are many ways for it to happen. An example of "economic ostracism" would be every banker in the town refusing to do business with you after you criticized banking regulation for being overly lax.