The present invention provides a pharmaceutical composition containing a selenite-containing compound and a pharmaceutically acceptable acid, selected from citric acid, acetic acid, malic acid, carbonic acid, sulfuric acid, nitric acid, hydrochloric acid, fruit acids and mixtures thereof. This composition is for use in the prevention or treatment of an infection of an internal reproductive organ of a female patient with at least one human papillomavirus (HPV) selected from HPV16, HPV18, HPV31, HPV33 and HPV58. The composition is applied intravaginally.