Uses of a vitamin D compound in the preparation of drugs for preventing or treating cystitis, urethritis and/or urinary tract infection, as well as a pharmaceutical composition, a pharmaceutical preparation and a kit that comprise the vitamin D compound, the vitamin D compound comprising a vitamin D2, a vitamin D3, an active form of the vitamin D3 or a similar substance, and the active form of the vitamin D3 being 25-hydroxyvitamin D3 or 1,25-dihydroxyvitamin D3.