Topamax is an anticonvulsant medication used to treat certain types of seizures in people ages 2 years and older and to help prevent migraine headaches in people ages 12 years and older. Your doctor ...