Taking antibiotics when you have a virus may do more harm than good. You increase the chance that bacteria in your body will be able to resist antibiotics each time you take them.