The present invention discloses a method of preventing and treating Gefitinib-resistant non-small-cell lung cancer, comprising administering an effective amount of an alkaloid. A pharmaceutical composition comprising an alkaloid admixed with a pharmaceutical carrier for treating Gefitinib-resistant non-small-cell lung cancer is also disclosed therein.