(Re)Submit for the re-exam
For most courses the date you need to submit for the re-exam is 4th Wednesday of February for Autumn re-exams / 4th Wednesday of July for Spring re-exams*.
* Since it can jump a week, always check the actual date. Look up the course in question and check the date to (re)submit for the re-exam.