You might want to consider meeting with a local criminal defense lawyer that offers a free initial consultation who can evaluate your situation and offer you what is likely the least-bad option for you to move forward with.
Statements posted on the Avvo Q&A section are not legal advice. No prudent person anywhere at any time should ever rely upon any statements posted on the Avvo Q&A section. There is no attorney-client privilege based on this interaction. I am not your attorney and there is no attorney-client privilege up until the moment that we have a signed engagement letter with a clear understanding regarding fees - at which point we will not be discussing your legal issue online on a public Q&A board that anyone in the world can view. You should find an attorney that can best represent your interests: using the Avvo lawyer search is one of many possible utilities online to collect names of lawyers you might be interested in meeting with offline to discuss your legal issue in full detail so the legal advice can be tailored to the specific facts of your legal issue.
Generally speaking you are now facing the original amount of time you were facing. Get a private criminal defense attorney on your side.
R. Jason de Groot, Esq. We do not have an attorney-client relationship. I am not your lawyer. The statements I make do not constitute legal advice. Any statements made by me are based upon the limited facts you have presented, and under the premise that you will consult with a local attorney. This is not an attempt to solicit business. This disclaimer is in addition to any disclaimers that this website has made. I am only licensed in Florida.
You are freaking out even though you did nothing and the judge warned you that you would get jail time if you did not complete your requirements?
sounds like you are on probation and have violated by not completing the terms of your probation and in an effort to give you a chance to avoid a conviction (and loss of your driver's license) the judge gave you additional time.
What you need to do is everything that you can do to finish the probation terms and go to court with a hired lawyer.
You ask the worse you can get - assuming it is a class B POM, the maximum is 6 months in jail (and the loss of your TDL.)
If this charge is in Austin (Travis county), then you were most likely given an opportunity to have your case dismissed or reduced to a class C PDP charge. If you do not do your class and community service the conviction will go on your record and you could do some jail time. The maximum is 6 months, but realistically you would probably do less than 10 days.