The present invention provides pharmaceutical compositions comprising water-soluble sulfonate-protected nanoparticles, more particularly, pharmaceutical compositions comprising water-soluble sulfonate-protected silver or gold nanoparticles. The pharmaceutical compositions of the invention are useful in prevention or treatment of infections or conditions or disorders caused by microorganisms capable of binding to heparan sulfate, e.g., herpes simplex viruses.