Because of the different regulations of colleges and universities, you can only consult the class teacher.
If you fail in college courses, you can also get a diploma according to the situation. See if the school has a final exam. If there is, it is equivalent to retaking the exam. As long as you pass, you will choose other courses to meet the requirements of credits or grade points. For example, if you are a sophomore, you can take a freshman course, which is called retaking the exam. Or you can take other courses, as long as you meet the requirements of credits or grade points.