This invention relates to cholesterol-sequestering agents and methods of using cholesterol-sequestering agents to treat or prevent infection. The compositions of the invention can be used in vitro or in vivo to decrease the load of a microorganism in a biological sample. Methods of generating an immune response against a microorganism are also included.