A PSD-95 inhibitor that blocks the binding of a binding ligand with PDZ to a PDZ domain of PSD-95 for use in the treatment of epilepsy, wherein the inhibitor is administered at least approximately one hour after termination of an episode of epilepsy.Un inhibidor de PSD-95 que bloquea la unión de un ligando de unión con PDZ a un dominio PDZ de PSD-95 para su uso en el tratamiento de la epilepsia, en donde el inhibidor es administrado al menos aproximadamenteuna hora después de la terminación de un episodio de epilepsia.