Depakote
Also known as: Valproic acid, Valproate, Depakene
Valproic acid is used alone or with other medications to treat certain types of seizures. Valproic acid is also used to treat mania (episodes of frenzied, abnormally excited mood) in people with bipolar disorder (manic-depressive disorder; a disease that causes episodes of depression, episodes of mania, and other abnormal moods). It is also used to prevent migraine headaches but not to relieve headaches that have already begun. Valproic acid is in a class of medications called anticonvulsants. It works by increasing the amount of a certain natural substance in the brain.
Source: U.S. National Library of Medicine (MedlinePlus)
For detailed information including dosage, side effects, and precautions:
View on MedlinePlus