Prevention of epilepsy in dogs