You may retake a failed test as many times as needed.
A successfully completed test can only be retaken after 24 months.