After you get your first DUI, you'll be assigned a court date. Most times it's a general sessions court. At that time, you have a chance to try to negotiate a plea bargain agreement to a lesser charge, such as reckless driving or reckless endangerment, or you can have a trial if the DA allows you to. Or you could have a preliminary hearing.
If you're convicted of a DUI first offense, it carries a loss of license, mandatory jail time, a probation. You have to pay a fine, and do an alcohol safety school.