Being charged with any crime is a serious matter and should be treated as such. You have a Constitutional right to have the State prove you guilty beyond a reasonable doubt, which is a very high standard of proof. It is your choice to have either a judge or a jury of your peers decide if the State has met its burden.
If the evidence against you is overwhelming or you simply would rather try to resolve the case without a trial, pleading guilty is always an option. When you plead guilty, you can do so with a negotiated agreement with the prosecutor or by pleading guilty “blind” wherein the judge decides your sentence. Again, there are strategic reasons to plead guilty with or without an agreement.