The U.S. Constitution prohibits the government from interfering with your right to remain silent, to consult with an attorney, and to be free from unreasonable searches and seizures by law enforcement.
However, it is up to you to assert these rights.
If you are confronted by a police officer, remain calm. Be courteous and provide your identification. Politely refuse to answer any further questions. Ask to talk to an attorney. Do not consent to any search of your person, your property, your residence or your vehicle. Tell the officer you would like to invoke your constitutional rights to remain silent.
You may print this on a card and carry it with you, but do not reach for this card until you have obtained the officer's permission to do so.