Preventing seizures in dogs