A pharmaceutical composition containing F1 polypeptide and/or F3 polypeptide and a use thereof are provided. The pharmaceutical composition is made into a common dosage form, such as an emulsion and an ointment, and used for treating a disease, such as a wart associated with a HPV infection, or a solid tumor associated with or not associated with the HPV infection.