How to fight epidemics?