In order for me to work, I have to take Nuvigil. It helps keep me awake, if not I would fall asleep right at my desk. I try to sleep as much as possible on the weekends.
As for the fog, when it is really bothering me, I have to write everything down. I have lists of things that I will use when I know I'm really bad.