Miranda rights don’t apply until you are actually in custody or arrested. To avoid them, the police will “ask” you to come down to the station “voluntarily”, to “clear things up.”
They put you in a little room with hidden cameras and microphones, where you are being videotaped without your knowing it. They use psychological interrogation techniques to get you to say things that may hurt you later in court.
They are allowed to lie to you. You are not allowed to lie to them.
How do you protect yourself?
Don’t talk. Get a lawyer.