For a typical San Francisco DUI, first offense, you can expect the following sentence: 3 years of court probation, which means you need to be extra vigilent for three years to stay out of trouble with the law. Two days in the County Jail, usually you will not be incarerated but will serve your sentence cleaning up trash on the Sheriff's Work Program. There are lots of fines and assessments that will total around $1800. These fines can be paid off monthly over three years. You will be ordered to attend the First Offender Program. The length of the program depends on how much alchohol you had in your blood system at the time of your arrest. This DUI school usually entails attending a two hour class once a week. Be aware that the DMV also demands that you take this class before you can get your driver's license back.
Furthermore, you cannot drive with any measurable amount of alcohol in your blood system. That means during probation you can't have any alcohol in your system while driving. And finally you cannot refuse to take a chemical test if asked by a law enforcement officer after an arrest.
You also can count on your car insurance increasing. It makes most sense to hire an excellent San Francisco DUI attorney to defend you.