The police are required to provide Miranda warnings when you are in custody and they are interrogating you. An experienced criminal defense attorney can help you determine if you were subjected to custodial interrogation and what steps you can take to protect your rights.