Uses of a vitamin D compound in the preparation of a medicament 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, wherein the vitamin D compound is selected from vitamin D2, vitamin D3, and an active form or analog of the vitamin D3, and wherein the active form of vitamin D 3 is 25-hydroxyvitamin D 3 or 1,25-dihydroxyvitamin D 3 .