The present invention is directed to the use of a class of peptide compounds for treating diseases associated with hyperexcitability. The present invention is also directed to the use of a class of peptide compounds for treating diseases associated with dysfunction of an ion channel.