Epidemics on Static and Adaptive Networks