Hi there,
I am very sorry to hear that you are so upset right now. I think I can give you some simple ideas now to try and make your life a little bit better as much as possible.
About your studies, I would suggest you organize your current body of knowledge and focus on the core parts that you can't understand, if you have no idea you can go to YouTube and check out some of the related explanatory videos, as well as emailing your teachers for their help. Detail your learning tasks, and divide your own learning goals into every day, so that your exam content is no longer a huge, empty concept, but some can be reached every day with small goals.
Regarding your current situation, I would suggest you have some communication with your university's mental health department and ask them for ways to get out of the emotional dilemma you are in at the moment.
Lastly, I hope that you will get better soon and that you will be able to pass this exam.
Yu
Wrexham University Student Rep – 3rd Year Media Production student