You definitely should retain a lawyer.
Your number priority is to avoid a conviction if possible through some kind of a pre-trial diversion program. Consult with your lawyer to see one is available in Troy.
Second, if that is not an option, if the maximum sentence of your shopilifting...