Really struggling at work

I know my fatigue/fog has been worse for the past 12 months, but I realised that I was nearly falling asleep during some web training. I. Find it it really difficult. What would I say to work?