In misdemeanor cases, you can sometimes resolve your case at the first hearing (arraignment). Generally, however, this will mean some kind of conviction will be entered on your record.
By entering a guilty plea, you are in essence doing the prosecutor’s work. More often, a better result is obtained when you begin by entering a “not guilty” plea and then seek the advice and assistance of a good attorney.