I’ve added a link to the youtube home of the “Flex Your Rights” video series that teaches you how to deal with encounters with the police — things like refusing to consent to searches, refusing to allow police into your home, how to avoid inadvertently incriminating yourself with something as simple as answering that you know what the posted speed limit is, and so on.
This is stuff everyone should know. And practice.