A method of treating a subject suffering from epilepsy includes administering an effective amount of a cholecystokinin-2 receptor antagonist or a pharmaceutical acceptable salt thereof to the subject. A pharmaceutical composition includes the cholecystokinin-2 receptor antagonist or a pharmaceutical acceptable salt thereof as active ingredient, one or more antiepileptic compounds, and a pharmaceutically acceptable excipient.