If you get a failing quality three times on Anyone exam, it is taken into account a course failure. To retake the exam, you should sign up for a new course and start from the beginning.
This OSHA thirty-hour training https://oshatrainingcentre.com/courses/osha-30-hour-construction/