The application of a specific ERK inhibitor or synthetic blocking peptide to bind ERK and DAPK1 reduced susceptibility to epilepsy and protected neurons from apoptosis in both in vitro and in vivo models. The gene discussed is DAPK1; the disease is epilepsy.