If you do in fact fail your course or any module/exam within it, you will be notified and given the option to retake the failed module at a later date.