That recently happened to me, i ended up being diagnosed with ADD, and put on ritalin.

So far so good, it seems to work, but i won't really know until the school year starts up again i suppose.