Antibiotics only work against bacterial infections, not viruses—and taking them when you don't need them makes them less effective for everyone

An antibiotic kills bacteria or stops it from growing. A virus causes colds, flu, most sore throats, and most coughs—and antibiotics do nothing against viruses. Taking an antibiotic for a viral infection wastes the drug, exposes you to side effects you didn't need, and contributes to antibiotic resistance: the process by which bacteria evolve to survive antibiotics that once killed them. When resistance spreads, infections that were once treatable become harder or impossible to treat.

Your pharmacist can tell you whether an antibiotic makes sense for what you have, but the decision starts with knowing the difference between bacterial and viral infections, which ones actually need antibiotics, and what happens when bacteria develop resistance. This matters because resistance is not a personal problem—it is a public health problem. Every unnecessary antibiotic use speeds up the timeline on which common bacteria become resistant.

Key Takeaways

  • Antibiotics kill bacteria but do nothing against viruses; most colds, coughs, and sore throats are viral and do not need antibiotics.
  • Bacterial infections that typically need antibiotics include strep throat (confirmed by test), urinary tract infections, skin infections, and pneumonia—but a doctor or pharmacist must confirm the infection is bacterial first.
  • Taking antibiotics when you do not need them trains bacteria to resist those drugs, making them less effective for everyone, including you in the future.
  • Finishing the full course of antibiotics as prescribed matters even if you feel better, because stopping early leaves some bacteria alive and more likely to develop resistance.
  • Your pharmacist can answer whether an antibiotic is necessary for your specific illness and can flag interactions with other medications you take.

How to tell whether an infection is bacterial or viral

A bacterial infection is caused by bacteria; a viral infection is caused by a virus. The problem is that symptoms often look the same. A sore throat, cough, or runny nose can come from either one. A fever can come from either one. There is no way to know by symptoms alone.

Some clues point toward viral: if you have a runny nose, sneezing, and a cough together, it is almost certainly viral. If you have a cough that produces mucus (not dry), it is usually viral. If symptoms started suddenly and you have a high fever and severe body aches but no runny nose, it might be flu, which is viral.

Some clues point toward bacterial: a sore throat with white or yellow patches on the tonsils, swollen lymph nodes in the neck, and a fever—without a cough or runny nose—suggests strep throat, which is bacterial. A urinary tract infection (burning when you urinate, urgency, sometimes blood in urine) is usually bacterial. A skin infection that is red, warm, swollen, and draining pus is usually bacterial.

But clues are not certainty. A doctor or pharmacist can order a test—like a rapid strep test or a urine culture—to confirm whether bacteria are actually present. That test is the only way to know for sure. If you have been prescribed an antibiotic without a test, ask your doctor or pharmacist whether one was done or whether the prescription is based on symptoms alone.

Which bacterial infections typically need antibiotics

Strep throat is bacterial and needs antibiotics. A rapid strep test takes a few minutes and confirms it. Untreated strep can lead to complications like rheumatic fever, so treatment matters. Penicillin or amoxicillin are standard; if you are allergic, other options exist.

Urinary tract infections are usually bacterial and need antibiotics. Symptoms include burning when you urinate, urgency, and sometimes blood in the urine or cloudy urine. A urine test confirms it. Common antibiotics are trimethoprim-sulfamethoxazole (TMP-SMX), nitrofurantoin, or fluoroquinolones, depending on the bacteria found and your allergies.

Skin and soft tissue infections—like an infected cut, abscess, or cellulitis (spreading redness and warmth)—are usually bacterial. They need antibiotics, often taken by mouth, though severe ones may need IV treatment. Your pharmacist or doctor will assess how serious it is.

Pneumonia can be bacterial or viral. A chest X-ray or other imaging helps determine which. Bacterial pneumonia needs antibiotics; viral pneumonia does not, though supportive care (rest, fluids, fever management) helps either way.

Ear infections in children are often bacterial, but many resolve on their own. A doctor examines the ear to decide whether antibiotics are needed now or whether waiting a few days to see if it improves is safe.

Conditions that do not need antibiotics include the common cold, most coughs, most sore throats (unless strep is confirmed), bronchitis, flu, and most cases of sinusitis. These are usually viral. Antibiotics will not help, and they carry risks.

What antibiotic resistance is and why it matters

Bacteria reproduce quickly and mutate often. When an antibiotic is present, most bacteria die—but some survive by chance because they have a genetic variation that makes them resistant to that drug. Those resistant bacteria then multiply, and over time, the population shifts toward resistance. If this happens widely enough, the antibiotic stops working against that bacteria in the general population.

This is not a hypothetical problem. Methicillin-resistant Staphylococcus aureus (MRSA) is a common bacterium that is now resistant to many antibiotics, including methicillin and related drugs. Vancomycin-resistant enterococci (VRE) are resistant to vancomycin, an antibiotic once considered a last resort. Resistance to fluoroquinolones, penicillins, and cephalosporins is rising in many bacteria. The more an antibiotic is used—especially when it is not needed—the faster resistance spreads.

Every time you take an antibiotic you do not need, you expose your own bacteria to that drug, which can select for resistance in your body. You can then carry or spread those resistant bacteria to others. On a population level, unnecessary antibiotic use is one of the biggest drivers of resistance. This means that overusing antibiotics today makes infections harder to treat for everyone in the future, including you.

Resistance does not mean the bacteria becomes stronger or more dangerous. It means the antibiotic no longer kills it. A resistant infection may require a different antibiotic, a higher dose, IV treatment, or hospitalization. Some resistant bacteria have few or no treatment options left.

Why finishing the full course matters

If you are prescribed a 10-day course of antibiotics, take all 10 days even if you feel better after 3 days. Stopping early leaves some bacteria alive in your body. Those surviving bacteria are more likely to be the ones with some resistance to the drug—because the most susceptible bacteria died first. If you stop early, you give those partially resistant bacteria a chance to multiply and cause infection again.

This is one of the clearest ways an individual action contributes to resistance. Finishing the course as prescribed gives the antibiotic the best chance to kill all the bacteria and prevents resistant strains from taking over.

The exception is if you have a serious side effect—severe allergic reaction, severe diarrhea, or another dangerous reaction. In that case, stop and contact your doctor or pharmacist immediately. Do not just stop on your own because you feel fine.

Common side effects and when to contact your pharmacist

Antibiotics can cause nausea, diarrhea, rash, or yeast infections. Nausea often improves if you take the antibiotic with food (unless the label says otherwise). Diarrhea is common because antibiotics kill not just the bacteria causing infection but also some of your normal gut bacteria; it usually resolves after you finish the course.

A rash can be a sign of a mild allergic reaction or a harmless side effect. If the rash is spreading, you have difficulty breathing, or your throat is swelling, seek emergency care immediately—this is a severe allergic reaction. If the rash is mild and localized, contact your pharmacist or doctor to decide whether to continue.

Yeast infections happen because antibiotics kill the bacteria that normally keep yeast in check. They are uncomfortable but not dangerous. Your pharmacist can recommend an over-the-counter antifungal or your doctor can prescribe one.

Some antibiotics interact with other medications, supplements, or foods. Fluoroquinolones can interact with certain minerals; tetracyclines should not be taken with dairy products or calcium supplements. Your pharmacist reviews your full medication list and will flag interactions before you fill the prescription.

How to talk to your pharmacist or doctor about antibiotics

If you have been prescribed an antibiotic, ask: "Was a test done to confirm this is a bacterial infection?" If the answer is no and the infection is a sore throat, cough, or cold-like illness, ask whether a test is possible before starting the antibiotic. Many urgent care clinics and pharmacies can do a rapid strep test or other quick tests.

If you are unsure whether you need an antibiotic, describe your symptoms to your pharmacist. They can tell you whether the symptoms suggest a bacterial or viral infection and whether an antibiotic is likely to help. If you have already started an antibiotic and are not improving after a few days, contact your doctor—the infection might be viral (in which case the antibiotic will not help), or it might be a bacterial infection that needs a different antibiotic.

Ask your pharmacist about side effects to expect, how to take the antibiotic (with food or on an empty stomach), and what to do if you miss a dose. Ask about interactions with other medications or supplements you take. If you have had an allergic reaction to an antibiotic before, tell your pharmacist—they need to know the specific reaction (rash, swelling, difficulty breathing) to avoid similar drugs.

Frequently Asked Questions

Can I use leftover antibiotics from a previous prescription?

No. Leftover antibiotics may not be the right drug for your current infection, the dose may be wrong, or the infection might be viral and not need antibiotics at all. Using the wrong antibiotic or the wrong dose also speeds up resistance. Always get a new prescription evaluated for your current illness.

Does taking probiotics while on antibiotics prevent diarrhea?

The evidence is mixed. Some studies show probiotics reduce antibiotic-related diarrhea; others show no benefit. Probiotics are generally safe, but talk to your pharmacist before starting one, especially if you have a weakened immune system. Finishing the antibiotic course and waiting a few days usually resolves diarrhea on its own.

What if I am allergic to penicillin—can I take other antibiotics?

Yes, but tell your pharmacist the specific reaction you had (rash, swelling, difficulty breathing, or something else). Some antibiotics are related to penicillin and may cause the same reaction; others are completely different and are safe. Your pharmacist and doctor use your allergy history to choose a safe alternative.

Why do some sore throats get better without antibiotics?

Most sore throats are viral, and your immune system clears them on its own in a few days to a week. Even bacterial sore throats (strep) often improve without antibiotics, though antibiotics speed recovery and prevent complications like rheumatic fever. This is why a test matters—it tells you whether waiting is safe or whether antibiotics are needed.

Can I stop taking an antibiotic early if I feel better?

No. Finish the full course as prescribed, even if symptoms disappear. Stopping early leaves some bacteria alive and increases the chance they will develop resistance and cause infection again. The only exception is a serious allergic reaction, in which case contact your doctor or pharmacist immediately.