At this point probably not much, but to make sure take with a qualified criminal defense attorney in your area to see if there is anything that can be done for your son.
You should consult with a skilled criminal defense attorney to see if he can help your son. In any event the information you posted indicates your son has a drug problem. The Drug Court judges are there because they want to help drug offenders get back on track.
Your posting is a little confusing. I cannot tell whether he was sentenced to 30 days, six months or both.
This response does not creat an attorney client relationship. In all cases, I recommend you seek a paid consultation with an attorney with expertise in this area.