When you are arrested for DUI in San Francisco or any part of California, you must address the criminal charges against you and you must also address the suspension of your California driver's license at the California DMV. The criminal DUI case and the driver's license suspension are two completely different cases.
Before you go any further, make sure you read about notifying the DMV within 10 days.