What happens if you are quarantined due to a previous exam and you are not allowed to take the following exams?

Catch-up exams are widely offered. If necessary, ask the examiner.