Welcome to SR!
Now that you face some legal consequences for your drinking, it's a good time to take some action.
It sucks to go through this alone.
You don't have to. Go to some AA meetings, you will find support there. And it will also show the judge that you are serious about getting sober.
A lot of people go to AA because they are court ordered. Go before the judge makes you, and possibly it will help your legal situation.