Fluconazole 400mg works by inhibiting an enzyme in fungi, called lanosterol 14-α-demethylase, responsible for the conversion of lanosterol, a type of fat, to ergosterol. This interferes with the formation of the fungal cell membrane.