Epidemics with behavior