It can depend on several factors (your previous driving record in general, city that you got the offense, the prosecutor, whether there was an accident and most important might be your BAC). A conviction for DUI with a BAC of .15 starts mandatory jail time in Virginia (5 days).
some attorneys here have stated probable cause would be necessary to allow for stopping a vehicle which is not correct. The standard is articuable and reasonable suspension that a crime is taking place and is lower burden compared to probable cause.
First of all, you really need to speak to a lawyer in person and have one represent you in court. You will not fair well if you try to do it on your own.
A third conviction for driving on a suspended license (SOL) carries automatically 10 days mandatory jail time, if all 3 convictions occurred within 10 years. You may be able to avoid the mandatory jail time if the citation the officer gave you does not state "3rd offense".
Even if you can avoid a 3rd time conviction for SOL, a judge can...