Nobody wants to be arrested. Nobody plans to be arrested. But sometimes these things happen.
Whether you’re guilty or innocent (especially if you’re innocent) you should have a basic understanding of your rights. Particularly your Miranda Rights or the Miranda warning. This is an extension of your Fifth Amendment right to not incriminate yourself, as well as your Sixth Amendment right to legal representation.