I'm 71 years old and in my 40's had a similar incident hated where I was working set off to work and never got there just wandered around not knowing what I was doing crossed busy roads oblivious to traffic finally ended up home in tears. In my 20's working nights set out for work never got there just went on different buses and finished up wandering about in tears not knowing what I was doing.
You're not well and it is good people are looking after you.