This paper studies a model of disease propagation in which rational and forward-looking individuals can control their exposure to infection by engaging in costly preventive behavior. Equilibrium outcomes under decentralized decision making are characterized and contrasted to the outcomes chosen by a social planner. In general, individuals over-expose themselves to infection, leading to suboptimally high disease prevalence. The model is applied to study the welfare effects of pre-exposure prophylaxis, which reduces transmission between serodiscordant couples and causes disinhibition. It is shown that a decrease in the induced infection risks increases disease prevalence and can lead to decreases in overall welfare.