You can retake the exam after failing within seven days, or it depends on your state driving test rules.