The present invention provides for an antiviral compound and analogues thereof for treatment or prevention of Flavivirus Dengue/Zika infections. In general the antiviral compound includes Eplerenone [pregn-4-ene-7, 21-dicarboxylic acid, 9,11-epoxy-17-hydroxy-3-oxo, γ-lactone, methyl ester (7α, 11α, 17α)] and its metabolites. Methods presented include treating Flavivirus infections, such as Zika virus, dengue virus, yellow fever virus and tick-borne encephalitis virus and Japanese encephalitis virus by administering the compound Eplerenone in therapeutically effective amounts and specific formulations as disclosed.