What medication is used to treat white spots on the skin?

Firstly, the nature of the disease of the white patches of skin should be clarified.
If it is vitiligo one can opt for topical application of calcium-regulated phosphatase inhibitors such as: tacrolimus cream, pimecrolimus cream, etc.
If it is a fungal infectious disease it can be treated with antifungal medication such as: terbinafine hydrochloride tablets tablets, itraconazole capsules, amorolfine rub.