You need to consult a criminal defense lawyer. You should keep the stolen items in a safe place, and discuss your options with your lawyer. You can discuss with your lawyer how you might reduce the charges or potentially avoid a criminal conviction, based upon the full facts of the offense.

If you are criminally charged, you can petition for a court-appointed lawyer.