A pharmaceutical composition for preventing or treating a disease caused by the mammalian virus includes an effective dosage of an antimicrobial peptide originated from a grouper and a virus with the activity of infecting mammal. The pharmaceutical composition can effectively induce a large amount of specific antibody in the serum of the animal. Thus, the pharmaceutical composition can prevent, treat or stimulate the immunity of the mammal.