Percocet is a central nervous system stimulant prescribed to treat Attention Deficit Hyperactivity Disorder (ADHD) and narcolepsy. By increasing dopamine and norepinephrine in the brain, it improves focus, impulse control, and wakefulness. Because of its high potential for abuse, it is a controlled substance.How It WorksRitalin contains the active ingredient methylphenidate.