First off, you should never resist arrest. Resisting arrest can lead to more charges. You should comply with their orders and provide identification if asked.
When questioned about anything related to a crime, simply state that you are not comfortable discussing until you have an attorney present.
Many police offers will attempt to make you seem guilty or try and convince you to speak before consulting an attorney. Remember that anything you say can be used against you later on, so it's best to wait until you have an attorney present.