First, call a criminal defense attorney if possible. Some officers will cooperate with you and allow you to speak with an attorney if you inform the officer that you need to understand your rights.
Listen to the instructions from the officer and do not be rowdy, disruptive, aggressive or physical towards the officer. Do not give the officer grounds to arrest you because of your behavior. Be polite and respectful (they will appreciate the respect and may return the favor).