My question involves criminal law for the state of: Minnesota

I was charged with solication of a prostitute in public place(hotel) gross misdemeanor. It was a sting operation. The only evidence is few texts and forth. First offense since I have clean record. nver broke the law or come close to it...Is it Good idea to hire private attorney or public defender. And is there a jail time for this offense for first offende? Any chance of winning this or settle for plea agrement.