You should work with a criminal defense lawyer to minimize the penalties or ramifications of committing or being accused of a crime. An competent criminal defense lawyer knows what a reasonable deal for a certain criminal charge would be and would negotiate it on the defendant's behalf.