sounds like you had a bad reaction to covid and lockdowns., I'm sorry to hear that.
The fact is that you do have to take responsibility with the state of the world and you have to learn to deal with it.
some people look for councilors, but ultimately, a councilor cant help everyone.
In the end, its the people who take responsibility and help themselves and make a clear goal who will succeed.
The human mind tries to avoid situations of fear and displeasure/.
some people (unknowingly to themselves) subconsciously program their mind that they are scared of a situation... and as a result, the mind labels the situation as something to keep away from. it seems like you have a fear when it comes to work.
Short answer: take an active role in reprogramming your mind that you ENJOY doing the work.
all you need to do is say 'aloud' to yourself something like: "I enjoy doing work... it makes me happy... and I really want to finish my course... it will make me so happy... I am so excited that I have the chance to do this course... I will be so happy when I pass it"
then sit down and work.
if you feel any negativity arise, just repeat the above phrase to yourself!
You will feel energy surge in yourself when you positively affirm yourself.
Go try it
and I wish you lots of success
* feel free to amend the phrase to suit your exact needs... but keep it similar so that you trigger your mind to accept the work as a positive thing (rather than a bad thing).