For example, methylphenidate (Ritalin) is sometimes used to treat children with attention and/or hyperactive disorders, such as ADHD. It is believed that the part of the brain that controls attentiveness in these children may be underdeveloped, or not working fast enough to keep them focused.