DoseFacts

Medicines Used for Viral infections

Also in: हिन्दी தமிழ் मराठी తెలుగు ಕನ್ನಡ বাংলা ગુજરાતી മലയാളം ਪੰਜਾਬੀ ଓଡ଼ିଆ অসমীয়া

A viral infection is an illness caused by a virus, a tiny germ that gets inside the body's cells and makes copies of itself there. Common examples are colds, flu, cold sores, chickenpox, shingles, many stomach bugs and dengue. Most mild viral infections clear up as the immune system fights them off, and care focuses on easing symptoms. Antibiotics do not work against viruses, but a few infections, such as flu and herpes infections, can be treated with antiviral medicines.

Medically reviewed by: V.Ragha Sai Pravallika, B.Pharm · Reg. No. TG081267 (Telangana Pharmacy Council)

Last reviewed:

Last updated: · Report an error

Symptoms of viral infections

Symptoms depend on the virus and the part of the body it affects, and some people have none. Common ones include:

  • Fever, chills or shivering
  • Tiredness and feeling generally unwell
  • Body aches, muscle or joint pain
  • Headache
  • Runny or blocked nose, sneezing and sore throat
  • Cough, which after flu can last two weeks or more
  • Diarrhoea, nausea or vomiting with a stomach bug
  • A rash, such as itchy blisters in chickenpox or a painful band of blisters on one side of the body in shingles
  • Tingling, then small painful blisters on the lip with a cold sore
  • Loss of appetite and poor sleep; children may be less active than usual

What causes viral infections?

Viral infections are caused by viruses, tiny germs that can only multiply by getting inside the body's cells. Once inside, they take over the cell to copy themselves, which can damage or kill it. Each virus tends to target certain cells: cold and flu viruses the nose, throat and airways, hepatitis viruses the liver. Viruses spread in droplets from coughs and sneezes, from hands and surfaces to the face, through contaminated food or water, through insect bites (dengue is carried by Aedes mosquitoes), through sexual contact and from mother to baby. Some stay in the body after the first illness and flare up later: the chickenpox virus can return years later as shingles, and herpes simplex causes repeated cold sores.

Who is more likely to get viral infections?

  • Close contact with someone who is ill, especially in crowded places such as schools
  • Not washing hands often, or unsafe food or drinking water
  • Living in or travelling to areas with dengue or other mosquito-borne viruses
  • Not being vaccinated against preventable viral diseases such as flu or chickenpox
  • Groups at higher risk of serious illness: babies and children under 5, adults 65 and over, pregnant women and those who have recently given birth
  • Long-term conditions such as diabetes, asthma or heart, lung, kidney or liver disease
  • A weakened immune system, for example from chemotherapy

When to get emergency help

  • Severe difficulty breathing, very fast breathing, sudden chest pain or coughing up blood: call 112 in India or your local emergency number. Do not drive yourself to hospital.
  • Signs that an infection may have turned into sepsis: confusion or slurred speech, blue, grey, pale or blotchy skin or lips, a rash that does not fade when a glass is pressed on it, or feeling very hot or very cold and shivery: call 112 at once.
  • In a child: a stiff neck, dislike of bright light, a first fit or seizure, being drowsy and very hard to wake, cold hands and feet, grunting or very fast breathing, no pee for 12 hours, or not responding normally: call 112 at once.
  • A baby under 3 months with a temperature of 38 C or more, or a baby aged 3 to 6 months with 39 C or more: get medical help at once by calling 112 or going to the nearest emergency department.
  • During or just after a dengue-type fever, often as the fever falls: severe belly pain, vomiting that does not stop, bleeding from the gums or nose, blood in vomit or stool, cold pale skin, restlessness or fast breathing: go to hospital at once or call 112.
  • Vomiting blood or something that looks like coffee grounds, or green vomit: call 112 or go to an emergency department at once.

When to see a doctor

  • Vomiting again and again so that no fluids stay down, or signs of dehydration in a child under 5, such as fewer wet nappies: get urgent medical advice the same day
  • A fever that lasts more than three days in an adult, or five days or more in a child
  • Symptoms that get worse instead of better, or a cold that has not improved after 10 days or flu after 7 days
  • Shingles symptoms, especially a rash near the eye or nose or any change in vision; antiviral treatment works best within 3 days of the rash
  • Flu or chickenpox symptoms in someone at higher risk (a baby, someone pregnant, aged 65 or over, or with a long-term condition or weakened immune system), or contact with chickenpox during pregnancy or with weakened immunity: get urgent advice, as some antiviral treatment must start within 24 hours of the spots
  • A cold sore that has not started to heal after 10 days
  • Red, hot or painful skin around chickenpox or shingles blisters, which can mean a skin infection: get urgent advice

How viral infections is diagnosed

Most common viral infections are diagnosed from the symptoms and an examination, without a test. A doctor may order one when the illness is severe or the cause would change care, for example when dengue is suspected. For flu and other breathing viruses, a swab from the nose or throat can be tested: rapid antigen tests give a result in about 10 to 15 minutes but miss some cases, so a negative result does not rule flu out, while molecular tests such as RT-PCR are more accurate. Dengue is tested in blood, with molecular, antibody (ELISA) and rapid tests; tests that detect the virus directly work best in the first week. General blood tests do not name the cause: CRP, a marker of inflammation, rises with both viral and bacterial infections.

How viral infections is treated

For most viral infections, treatment means supporting the body while the immune system clears the virus: rest, enough fluids that urine stays pale, and medicine for fever and aches such as paracetamol or ibuprofen, following the label or a pharmacist's advice. Some safety points apply: aspirin is not given to anyone under 16, ibuprofen is avoided in chickenpox unless a doctor advises it, WHO advises against ibuprofen and aspirin in dengue because they can raise the risk of bleeding, and paracetamol should not be doubled up with cold remedies that already contain it. A few viral infections are treated with antivirals, prescription medicines that act on specific viruses and slow their spread in the body: acyclovir for cold sores, genital herpes, chickenpox and shingles, and oseltamivir for flu. They work best started early, for flu within about two days of the first symptoms and for shingles within three days of the rash. Flu antivirals can shorten the illness by about a day, and doctors mainly use them for people who are seriously ill or at higher risk; most healthy people with mild flu do not need them. WHO says there is no specific treatment for dengue, and colds and most stomach bugs are managed by easing symptoms. Antibiotics do not help viral infections. A doctor decides whether any prescription medicine is needed.

Medicines used for viral infections

These active ingredients are in medicines whose approved uses include Viral infections. Brands are listed A to Z, not ranked. A doctor or pharmacist decides which medicine is right for you.

Acyclovir

Oseltamivir

Preventing viral infections and day-to-day care

Vaccines prevent many viral diseases, including flu, chickenpox and shingles; a doctor can say which are due for you or your child. Everyday habits also cut spread: washing hands often with soap and water, covering coughs and sneezes, avoiding close contact with people who are ill, and safe food and water. Staying at home while you have a fever protects others. Against dengue, WHO advises avoiding bites with covering clothing, repellents, nets and screens, and emptying standing water and cleaning water-storage containers every week. Safer sex lowers the risk of sexually transmitted viral infections.

Possible complications

  • Pneumonia and worsening of long-term conditions such as asthma, heart disease or diabetes after flu
  • Sepsis, a life-threatening reaction to an infection
  • Dehydration from fever, vomiting or diarrhoea, especially in babies and young children
  • Bacterial skin infection of chickenpox or shingles blisters
  • Long-lasting nerve pain after shingles (post-herpetic neuralgia) and eye problems
  • Severe dengue, with bleeding, fluid loss and shock

Viral infections in India

In India, the mosquito-borne viral infections dengue and chikungunya are tracked by the National Center for Vector Borne Diseases Control (Ministry of Health and Family Welfare) through a network of 869 sentinel surveillance hospitals (2025 list), and the centre publishes the National Guidelines for Clinical Management of Dengue Fever (2023). WHO notes that in tropical countries flu can occur all year round, with irregular outbreaks, rather than only in a winter season.

Common questions

How long does a viral infection last?

It depends on the virus. A cold usually clears in one to two weeks, longer in young children. Flu lasts about a week, though the cough can linger longer. Diarrhoea from a stomach bug usually settles in five to seven days, and dengue fever in two to seven. See a doctor if you are getting worse, not better.

Do antibiotics work for a viral infection?

No. Antibiotics act on bacteria, not viruses, so they do not help colds, flu, most sore throats or most coughs, and will not make you recover faster. Taking them when they are not needed can cause side effects and helps bacteria become resistant, so they may not work when you do need them. A doctor decides if one is needed.

Which medicines are used for viral infections?

Most are managed by easing symptoms, for example with paracetamol for fever and aches. Antivirals exist for only some viruses: acyclovir for herpes infections such as cold sores and shingles, and oseltamivir for flu. They work best started early. A doctor decides whether one suits you.

How can I treat a viral infection at home?

Rest and drink enough that your urine stays pale. Paracetamol can ease fever and aches; ibuprofen is avoided in chickenpox and dengue. Follow the label or ask a pharmacist. Warm drinks, salt-water gargles for adults and steam can soothe symptoms, but keep children away from bowls of hot water. The NHS finds little evidence for vitamin C, echinacea or garlic.

Is a viral infection contagious, and for how long?

Many are. A cold spreads until all symptoms have gone, and flu is most infectious in the first five days. Chickenpox spreads from two days before the spots until all have scabbed, cold sores until fully healed, and stomach bugs for at least two days after the last diarrhoea or vomiting. Dengue spreads through mosquito bites, not everyday contact.

What should I eat when I have a viral infection?

No special diet is needed. Sip fluids often and eat healthy food when you can; small children may eat less for a while. With diarrhoea, oral rehydration solution replaces lost salts and water, while fruit juice and fizzy drinks can make it worse. Warm lemon and honey can soothe a sore throat, but honey is not for babies under one.

Which test shows a viral infection?

There is no single test. Often none is needed. When one is, it targets the suspected virus: a nose or throat swab for flu or other breathing viruses, or a blood test for dengue. A CRP blood test shows inflammation but not whether a virus or bacteria caused it. Your doctor chooses the test and explains the result.

Can a viral infection turn into a bacterial infection?

Sometimes another infection follows a viral one. Chickenpox or shingles blisters can become infected, making the skin around them red, hot and painful, and flu can lead to pneumonia. See a doctor for a high temperature lasting more than three days, symptoms that get worse or have not improved after 10 days, or shortness of breath.

Are shingles and herpes the same virus?

No, but they are related. Cold sores and genital herpes are caused by the herpes simplex virus. Shingles, also called herpes zoster, is caused by the chickenpox virus, varicella-zoster, which stays in the body after chickenpox and can wake up years later. Acyclovir is used for both kinds of infection.

Are viral infections dangerous in pregnancy?

Some can be. Pregnant women are more likely to become seriously ill with flu, and chickenpox can be dangerous in pregnancy, so contact with it needs urgent medical advice. Some viruses can pass to the baby. Tell your doctor or midwife quickly about a fever, rash or flu-like illness in pregnancy.

Sources

  1. Viral Infections. MedlinePlus, US National Library of Medicine (NIH)
  2. Influenza (seasonal): fact sheet. World Health Organization
  3. Flu. NHS (UK)
  4. Common cold. NHS (UK)
  5. Antibiotics. NHS (UK)
  6. Antibiotic use: about. US Centers for Disease Control and Prevention (CDC)
  7. Treating flu with antiviral drugs. US Centers for Disease Control and Prevention (CDC)
  8. Flu testing (diagnosing flu). US Centers for Disease Control and Prevention (CDC)
  9. Aciclovir. NHS (UK)
  10. Shingles. NHS (UK)
  11. About shingles. US Centers for Disease Control and Prevention (CDC)
  12. Chickenpox. NHS (UK)
  13. Cold sores. NHS (UK)
  14. Diarrhoea and vomiting. NHS (UK)
  15. High temperature (fever) in children. NHS (UK)
  16. Sepsis. NHS (UK)
  17. Dengue and severe dengue: fact sheet. World Health Organization
  18. C-reactive protein (CRP) test. MedlinePlus, US National Library of Medicine (NIH)
  19. Dengue (programme page with the 2025 list of sentinel surveillance hospitals). National Center for Vector Borne Diseases Control, Ministry of Health and Family Welfare, Government of India