Sorry you are going thru this, when I got my DUI several years ago, I started outpatient treatment right away, counseling and went to about 10 AA meetings per week and had a sheet signed.
By the time I got to court, the judge was so impressed with my efforts she let me off pretty easy & I got driving privileges back pretty quickly.
Hang in there!