I am assuming this is a bachelors course.
Likely you will have to either redo the module the following year (or pick another one, however if it is a core module, you must resit it) but unless you can provide evidence of an extenuating circumstances, resitting the same module will end in a module cap of 40%.
Typically this will mean having to do an additional year at university (hence student finance’s +1 year policy so, if your course is 3 years, they’ll provide you funding for up to 4), however, if it is a shorter module (15 credits say), you should be able to do it in less than a year.