Just focus on your resits and try to get the other stuff out of your mind for now.
It sounds like you know what changes you need to make. You also dropped the ball by not fully engaging with wellbeing - there is always a wait, it's not ideal but it's where we are in universities at the moment. there's a lot of student anxiety (way more than pre covid) and not enough staff or money to deal with in a timely manner. Engage with them, even with the wait.
If there's an anxiety and burnout thing going on you might also think about speaking to a GP as well as you academic advisor and the mitccics people. There are mechanisms in place to help you succeed but you have to ask for them. Like I say to my students: 'if you don't tell us we don't know'.