Methods for preventing and/or treating flavivirus infection are disclosed. The method comprises administering to a subject in need thereof a composition comprising: a) a dopamine D2 receptor antagonist in an amount effective for preventing and/or treating flavivirus infection; and b) a pharmaceutically acceptable carrier. The dopamine D2 receptor antagonist may be selected from the group consisting of prochlorperazine or a salt thereof, and haloperidol.