Valproate (VPA) and its valproic acid, sodium valproate, and valproate semisodium forms are medications primarily used to treat epilepsy and bipolar disorder and prevent migraine headaches. They are useful for the prevention of seizures in those with absence seizures, partial seizures, and generalized seizures. [Source: Wikipedia ]