You need not to go through all the test, only the test that you failed. FOr example you failed the road test, then only the road test you need to retake and pass after that you will be given a drivers license within the day.

Rescheduling the exam depends on where you took it, some gives one month period before you are allowed to take and others only days...

"We cannot change the past, we only learnt from it"