If you fail the driving test at the DPS, you are given three attempts to pass within 90 days before a new application fee is charged. You can go back to the DPS as early as the next day to retake the exam. If you fail the driving test with a driving school, each driving school has a different policy regarding retakes. Some will charge a fee for every attempt. Others will charge a fee if you do not retake your test within a certain amount of time. Contact your driving school to know their policy!