The present invention relates to a kind of method in object moderate stimulation immune response in need, including applying pharmaceutical composition to the object, described pharmaceutical composition includes the thiazides class compound of therapeutically effective amount, wherein, the thiazides class compound is Nitazoxanide or tizoxanide or RM 4848 or its salt, its polymorph, its ester, its acid amides, its pro-drug or derivatives thereof, wherein, the object is with viral infection, cancer or intracellular protozoan infection or there is the danger for suffering from viral infection, cancer or intracellular protozoan infection.