Follow their commands and do not resist. If they want you to answer questions, tell them you want an attorney. This is the single most important thing to remember. An officer is not your friend. They do not want to help you. When they make an arrest the only thing they are committed to is getting evidence to convict you.