WOAH. you r literally going through the EXACT thing i went through. I was going through depression, anxiety and ocd during first year of uni and even during the end of sixth form. I started first year last year in sep 2022. I couldn't do simple tasks just like you and i was sooooo behind with my lectures too. I passed all assessments apart from 1 so i had to retake that during the summer holidays in 2023. I failed the retake by literally 6 marks. During the second part of the year, around march, I went to a GP and was given anti depressants. I didnt take it for that long as my mental health prevented me from taking it even tho i wanted to get better. I did pharmacy, so it's already dificult regardless of mental health. Because I failed, I took a gap year, which is my current situation. I couldnt transfer to another uni as i got my retake result in sep, and all unis had applications closed. I decided i wanted to apply to unis in my city so that i wouldnt be away from home like i was in first year of uni. I am applying for 2024 entry, and it has been a little bit of a struggle since 2 of the unis i applied to said they can't accept me due to failing the year, even tho i told them it was due to mental health and that i'm better now. I have a stay-at-home job and that keeps me occupied a lotttt. But my mental health now is so much better compared to last year, by far. I feel better now than when i was at uni. It just wasn't right. Now, I'm motivated to go uni, including the fact that my mental health is better.