it really depends on your uni policy. In my uni we can only fail 1 module a year that's worth 30 credits or 2 15 credit modules (I think). however, if you do fail 2 and they kick you out we're allowed to appeal it (like if your personal issues were out of your control and pretty bad) and see if they allow us to continue. just scan through your unis policy on it because it might be different, they might just let you retake the whole year.