Contested epidemics