Sometimes medication can improve executive dysfunction. For example, treatments that help with mood disorders and anxiety disorders can alleviate executive dysfunction that’s associated with these problems. Since lack of sleep can cause a decline of executive function during the day, medication for the treatment of sleep disorders can improve executive function. There are also medications that can treat neurological causes, such as multiple sclerosis and Parkinson’s disease. Additionally, some prescription medications may help slow the progression of dementia.