If you fail one or more parts of the CPA exam, you are allowed to retake that section(s) during the next testing window. You are also allowed to take the failed section(s) at a different Prometric testing center.