If you fail, your test report will have deficiency codes on it. Your flight instructor must cover those subjects with you and attest that you've received training. They are required to give you another endorsement stating your readiness for retesting before you can take the written again.