Long-term treatment with both stimulant (Methylphenidate) and non-stimulant (Atomoxetine) medications significantly improves cognitive functions in individuals with ADHD. The study highlights improvements in attention, inhibition, reaction time, and working memory, which are crucial for academic and occupational performance.