Hey. I’m sorry that you’re having a hard time with your mental health. That’s no fun, especially when you are trying to complete a degree.
Firstly, I hope you have managed to get some support for your mh struggles. You will be able to manage the course much better if this is being addressed and your well-being is important. So if you haven’t already, please go and get some professional support. Secondly, I would strongly recommend that you reach out to your personal tutor and let them know what caused you to struggle with this module. Their job is to support you throughout your degree. They can’t do that if they are not aware of things that may impact your attendance or study.
Considering that all unis are different it would be advisable to let your personal tutor advise you about what will happen now. In my university you can appeal the transcript and send in evidence for them to consider as to why you didn’t claim an EC at the time. If you have been mentally unwell, you possibly would not be in the right mindset to have the forethought or energy to put in an EC at the time, even though you needed one.
A lot of courses will let you progress onto the next year with one failed module. And you will redo that module alongside, but you have to pay to redo the module.
The only way to know is to speak to your university. It may also be worth speaking to unis disability services, who can make sure you get any reasonable adjustments you need and help you applying for disabled students allowance if you are eligible.