Which treatments work for bacterial and viral infections
Bacterial infections are usually treated with antibiotics, medicines that kill bacteria or stop them from multiplying. Viral infections are different. Antibiotics do not act on viruses, so common viral illnesses such as colds, many sore throats and most stomach bugs are managed by easing symptoms while the body clears the virus. A small number of viruses, including influenza and COVID-19, may be treated with antiviral medicines, but these are prescribed for specific situations and are not a general cure.
The right route depends on what is causing the illness. Bacterial and viral infections often look alike, with fever, sore throat, coughing or aches, so symptoms alone rarely settle the question. A clinician may examine you and sometimes run a test before choosing a treatment.
This educational guide explains the main treatment groups, how each is typically used, and which questions are worth raising with your doctor, nurse or pharmacist. It is general information, not a substitute for medical care.
Key Takeaways
- Antibiotics treat bacterial infections only, so asking for them for a cold or the flu will not help the virus clear faster.
- Antiviral medicines exist for certain viruses such as influenza, COVID-19 and some herpes viruses, and they usually work best when started early in the illness.
- Most viral infections are managed at home with rest, fluids and pain or fever relievers used according to the label.
- Aspirin should not be given to children or teenagers with a viral illness, so check with a pharmacist before giving any medicine to a child.
- Some symptoms, including trouble breathing and chest pain, need medical attention without delay, so know which signs to watch for.
How antibiotics work and why overuse causes problems
Antibiotics target structures or processes that bacteria need to survive. Different antibiotics cover different types of bacteria, which is why a prescriber chooses one based on the likely site and cause of the infection. The same medicine that treats a skin infection may not treat a urinary infection, and neither will work on a virus.
Clinicians usually ask people to finish the course as written, but guidance on stopping early has changed over time. If you feel better before the course ends, ask the prescriber what they want you to do. Taking leftover antibiotics from an earlier illness, or using someone else's supply, is a common mistake that can hide the real cause of symptoms.
Overuse drives antibiotic resistance, which happens when bacteria change so a medicine stops working against them. Health bodies such as the CDC in the United States and the NHS in England describe this as a growing public health concern. For this reason many clinicians now wait, or avoid antibiotics altogether, for infections that often clear without them. Side effects such as diarrhoea or rash are possible, and a severe allergic reaction needs emergency care.
Antiviral medicines for flu, COVID-19 and herpes viruses
Antivirals are designed for particular viruses rather than for viral infections in general. Oseltamivir, sold as Tamiflu, is a common influenza antiviral and is usually available only with a prescription. For COVID-19, medicines such as nirmatrelvir with ritonavir (sold as Paxlovid) and molnupiravir are used in some countries. Who is offered them depends on age, health conditions and current national guidance, so the decision is made case by case.
Timing matters. Antivirals for influenza and COVID-19 tend to work best when started early in the illness, which is why clinicians often ask when symptoms began. Antivirals such as aciclovir and valaciclovir are used for cold sores and shingles, and these also tend to be more effective when started early.
Antivirals can interact with other medicines, including some heart and cholesterol treatments. Tell the prescriber and pharmacist about everything you take, including supplements and over-the-counter products. Availability and rules vary by country, so checking with your local health service or pharmacist is the practical starting point.
Symptom care for colds, flu and other viral illnesses
Most common viral infections run their course over days to a couple of weeks, though a cough can linger longer. Home care focuses on rest, drinking enough fluids and managing discomfort. Saline nasal sprays, throat lozenges and warm drinks are widely used for congestion and sore throats. Paracetamol (acetaminophen) and ibuprofen can ease aches and fever when used according to the label.
Aspirin should not be given to children or teenagers with a viral illness because of a rare but serious link with Reye syndrome. Many cold and flu products also contain paracetamol or ibuprofen, so taking one of these alongside a separate painkiller can lead to taking too much. Read ingredient lists and ask a pharmacist before combining products, especially for children.
Honey can ease a cough in children over one year old, according to the NHS. Research on cough and decongestant medicines is mixed, and many people find they make little difference. A pharmacist can talk through which products suit your age and other medicines.
How the main treatment routes compare
The table below sets out the main treatment groups side by side. It is a general overview, and details can differ by country and by the individual's health.
| Treatment route | Typically used for | Usually obtained through | Main thing to check |
|---|---|---|---|
| Antibiotics | Bacterial infections such as strep throat, some urinary infections and some chest infections | Prescription from a clinician | Allergies, current medicines and the prescribed course length |
| Antivirals | Specific viruses such as influenza, COVID-19 and some herpes viruses | Usually a prescription, often needed early in the illness | When symptoms started and possible interactions with other medicines |
| Pain and fever relievers | Easing aches, headaches and fever from most infections | Pharmacy or supermarket shelf | Correct dose for age, and whether a combined product repeats the same ingredient |
| Rest and fluids | Most viral illnesses and mild bacterial ones | Care at home | Signs of dehydration, such as very little urine or dizziness on standing |
Some routes overlap. A person with a viral infection may use pain relief and fluids but no antibiotic, while a person with a confirmed bacterial infection may use both an antibiotic and symptom care. The table shows typical patterns, not rules that fit every case.
Because the right choice depends on what is causing symptoms, a pharmacist can often advise on symptom products, while a doctor or nurse is the right person to decide on prescription medicines.
Warning signs that mean you should seek medical care
Most mild infections do not need an emergency visit, but some signs call for medical attention quickly. These include trouble breathing, chest pain, confusion, blue or grey lips, a severe headache with a stiff neck, a rash that does not fade when pressed, and signs of dehydration such as very little urine or fainting when standing. In an emergency, call your local emergency number. In England and Wales, NHS 111 can help you decide what to do next.
Some people should be assessed earlier. Babies, older adults, pregnant people and people with weakened immune systems or long-term health conditions may become unwell faster than others, so it is reasonable to contact a clinician sooner. A fever that lasts longer than expected or keeps returning is also worth raising with a doctor.
It helps to keep a short note of when symptoms started, what temperatures you recorded, and which medicines you have taken, including doses. This information is useful to share with a clinician or pharmacist, and it makes it easier to follow the conversation.
Frequently Asked Questions
Can antibiotics cure a cold or the flu?
No. Colds and flu are caused by viruses, and antibiotics do not act on viruses. Taking them for a viral illness exposes you to side effects and adds to antibiotic resistance without speeding recovery. Symptom care such as rest, fluids and pain relief is the usual approach, and an antiviral may be an option for flu in some situations.
Why did my doctor not prescribe antibiotics for my infection?
Your clinician may have judged that the infection is probably viral, or that it is likely to clear without treatment. Many clinicians now avoid antibiotics where they are unlikely to help. You can ask what they think the cause is, what signs would change that view, and when you should come back.
Are antiviral medicines sold without a prescription?
In most countries, antivirals for influenza and COVID-19 are prescription medicines. Rules differ by country and change over time, so a pharmacist or your local health service can explain what is available where you live. Creams for cold sores, such as those containing aciclovir, are sometimes available from pharmacies without a prescription.
How long do viral infections usually last?
Many common colds clear within about a week to ten days, and a cough can linger for several weeks. Flu often causes more intense symptoms for a few days, with tiredness that may last longer. Recovery time varies from person to person, depending on age, general health and the specific virus. If symptoms are getting worse rather than better, contact a clinician.