Antibiotics only treat bacterial infections and are not effective in treating viral infections like the cold or flu.