Spiegato, Home

Health and Wellness · Infections

What Is an Infection? Types, How It Spreads and When to Get Help

  • Published by Spiegato
  • Updated
  • 10 min read

The short answer

An infection happens when germs such as bacteria, viruses, fungi or parasites get into your body, multiply and cause harm [1]. Many germs live on you without trouble. Your immune system often clears common infections on its own, but treatment depends on the germ: antibiotics work only against certain bacteria, never viruses [2].

What does it actually mean to have an infection?

You have an infection when a germ gets into your body, multiplies there and starts causing harm. The illness you notice (the fever, sore throat, cough or upset stomach) is your body reacting to that process [1][6].

Here's the first thing worth knowing: having germs on you is not the same as having an infection. Germs are everywhere, in the air, soil and water, and also on your skin and inside your body. Many are harmless and some are actually helpful [1]. Most types of bacteria don't make you sick, and the "good" bacteria in your digestive system help you digest food and absorb vitamins and minerals [6]. It only counts as an infection when germs start to damage you.

An infection doesn't always make you feel ill, either. Some are so mild you never notice them, while others can be life-threatening [1]. With many viruses, your immune system fights the germ off and you may have no symptoms at all [7]. When an infection causes no obvious symptoms, doctors call it a subclinical infection.

Bacteria, viruses, fungi or parasites: what's the difference?

There are four main types of germs behind infectious diseases [1]. Telling them apart matters for one very practical reason: the treatment is different. Here's a side-by-side look.

The four main types of infection compared
TypeWhat the germ isCommon examplesHow it's usually treated
BacterialTiny one-celled organisms found almost everywhere on Earth [6]Strep throat, urinary tract infections (UTIs) [1]Your immune system sometimes clears it; when treatment is needed, antibiotics [6]
ViralGenetic material in a protein coat that invades your cells and uses them to make copies of itself [7]Common cold, flu, COVID-19, HIV [7]Usually symptom relief while your immune system works; antivirals exist for some viruses. Antibiotics don't work [7]
FungalPrimitive organisms such as mushrooms, mold, mildew and yeasts; they live in air, soil, plants and water, and some live in the human body [1][8]Athlete's foot, yeast infections [8]Antifungal medicine applied to the skin or nails, or taken by mouth for serious infections [8]
ParasiticLiving things that use your body for food and shelter, from one-celled protozoa to worms you can see [9]Giardia, toxoplasmosis, malaria, head lice [1][9]Medicines exist for some parasitic infections; some are easily treated and some are not [9]

Figuring out on your own whether a sore throat is viral or bacterial isn't easy, because the symptoms overlap a lot. If you're curious about the clues, read how to tell a virus from a bacterial infection. When it matters, your doctor may be able to run a test to find out. You can also read more about bacterial infections in detail.

How do you catch an infection?

How a germ spreads depends on the germ, but the main routes are the same for most of them [1][6][7]:

  • Through the air: breathing in droplets and particles breathed out by someone who's infected, or having them land on your mouth, nose or eyes.
  • Through your hands: touching a contaminated door handle or surface, then touching your face.
  • Through direct contact: kissing, touching, cuts and scrapes, and sexual contact.
  • Through contaminated food or water (and, for some germs, soil or plants).
  • Through insect or animal bites.
  • From a pregnant parent to the baby during pregnancy.

Not everyone gets equally sick. You're more likely to get a fungal infection, for example, if your immune system is weakened or you're taking antibiotics [8].

How does your body fight back, and what symptoms should you expect?

Your body has layers of defense. The first line is made of barriers: your skin, mucus that traps bacteria, enzymes in tears and skin oils, the cough reflex and stomach acid [11]. If a germ gets past them, inflammation kicks in: blood vessels leak fluid into the tissue (which causes swelling) and white blood cells called phagocytes "eat" the germs [11]. Over time your immune system also builds a specific defense with antibodies and memory cells, so it can respond faster next time [11]. That's why infection and inflammation so often go together; see how infection and inflammation are linked.

Fever is part of that defense. It's fighting for you, not against you [10]. In a child, a fever means a temperature of 100.4 °F (38 °C) or higher taken rectally, 99.5 °F (37.5 °C) by mouth or 99 °F (37.2 °C) under the arm [10].

The good news: if a fever is mild and you have no other problems, you usually don't need treatment, just fluids and rest [10]. For most viral infections, care means easing symptoms while your immune system clears the germ [7].

When should you call a doctor or 911?

Sometimes an infection triggers a chain reaction throughout the body called sepsis, a life-threatening medical emergency. Without fast treatment, it can quickly lead to tissue damage, organ failure and death [3]. Each year about 1.7 million adults and more than 18,000 children in the U.S. develop sepsis [3]. The table below sums up official guidance from the CDC and MedlinePlus. It doesn't replace your doctor's judgment.

Infection warning signs and what to do
SituationWhat to do
Mild fever, no other problemsFluids and rest; no treatment usually needed [10]
Baby 3 months or younger with a rectal temperature of 100.4 °F (38 °C) or higherContact your child's provider right away [10]
Baby 3 to 12 months old with a fever of 102.2 °F (39 °C) or higherContact your child's provider right away [10]
Adult with a fever lasting longer than 48 to 72 hours, or staying at or above 103 °F (39.4 °C)Contact your provider right away [10]
Infection plus clammy or sweaty skin, confusion, extreme pain, shivering or feeling very cold, high heart rate or weak pulse, shortness of breathPossible sepsis: get medical care immediately [3]
Fever plus trouble breathing, blue lips or nails, stiff neck, very bad headache, a seizure, confusion, or can't be woken easilyCall 911 [10]

Almost any infection can lead to sepsis, and most people who develop it have at least one existing medical condition, such as chronic lung disease or a weakened immune system, or a recent hospital stay [3]. For the full picture, see the symptoms of sepsis.

Do antibiotics cure every infection?

No, and this is probably the most common mix-up. Antibiotics treat only certain bacterial infections, such as strep throat, whooping cough and UTIs. They don't work on viruses, so they won't help colds and runny noses (even if the mucus is thick, yellow or green), most sore throats, the flu or most chest colds [2]. Even some bacterial infections, including many sinus infections and some ear infections, get better without them [2].

When you do need an antibiotic, take it exactly as prescribed, and don't share it or save it for later [2]. Misuse has a cost for everyone. Each time you take antibiotics, there's a risk the bacteria become resistant to them [6], and infections caused by resistant germs can be difficult or impossible to treat [3]. More on that in what antibiotic resistance is.

How can you prevent infections?

Prevention matters most where there's no good medicine, as with many viral infections. These steps cover most of the ground [1][4]:

  1. Get vaccinated. Vaccines can help prevent many viral diseases [7] and teach your immune system to defend itself without your having the infection first [11].
  2. Wash your hands well. Wet them with clean running water, lather the backs, between your fingers and under your nails, scrub for at least 20 seconds (humming "Happy Birthday" twice), rinse and dry [4]. If soap and water aren't handy, use a hand sanitizer with at least 60% alcohol [4]. Key times include before eating, after using the toilet and after blowing your nose [4].
  3. Handle food safely and, when traveling, drink only water you know is safe [1][9].
  4. Use a condom every time you have sex, and don't share toothbrushes, combs or straws [1].
  5. Stay home when you're sick and cover coughs and sneezes with a tissue [2].

For the reasons behind the habit, see why hand washing is important.

For the curious: a few technical terms and the resistance problem

  • Toxins: many bacteria give off poisons that damage your cells; others move into and damage tissues directly [6].
  • Cell targeting: each virus usually infects only one type of cell. Hepatitis viruses affect liver cells, and HIV infects a certain type of immune cell [7].
  • Innate vs. acquired immunity: innate immunity is the defense you're born with; acquired immunity develops after exposure to a specific germ or a vaccine [11].
  • Sepsis vs. septicemia: the terms are often confused; see the difference between sepsis and septicemia.

Drug resistance is a growing issue in the U.S. CDC's 2026 update to its Antimicrobial Resistance Threats Report estimates that the bacteria and fungi it tracks cause 9.7 million infections and 50,800 deaths in the United States each year [5]. The CDC changed its methods for this update, so it warns against comparing it directly with earlier reports, such as the 2019 estimate of more than 2.6 million resistant infections and nearly 44,000 deaths [5].

Frequently asked questions

Is every infection contagious?

No. Many infections pass from person to person, but others come from insect or animal bites or from contaminated food, water, soil or plants [1]. Some fungi also live in the human body, and you're more likely to get a fungal infection if your immune system is weakened or you take antibiotics [8].

Can I take leftover antibiotics from an old prescription?

The CDC says no: don't save antibiotics for later and don't take ones prescribed for someone else [2]. The wrong medicine can delay the right treatment and cause severe side effects, and it does nothing at all if your illness is viral [2]. Ask a pharmacist about drug take-back programs for leftovers.

What are the side effects of antibiotics?

Common ones include rash, dizziness, nausea, diarrhea and yeast infections [2]. More serious problems include C. diff infection, which causes diarrhea that can severely damage the colon, and life-threatening allergic reactions [2]. In children, antibiotic side effects are the most common cause of medication-related emergency room visits, so call your provider if any side effect appears [2].

Why can you get a yeast infection after antibiotics?

Some fungi normally live in the human body, and people who take antibiotics are more likely to get a fungal infection [8]. The CDC lists yeast infections among the common side effects of antibiotics [2]. If you think you have a yeast infection during or after a course, talk to your doctor or pharmacist.

Does a high fever mean the infection is serious?

Not necessarily. A simple cold or other viral infection can sometimes push a fever to 102 to 104 °F (38.9 to 40 °C) without meaning anything serious [10]. What matters more is how the person looks and acts: a child who is alert, playing, eating and drinking well is probably not seriously ill. Some serious infections cause no fever or a very low temperature, most often in infants [10].

This article is for information only and is not a substitute for advice from a doctor or health professional.

Sources

  1. Infectious Diseases. MedlinePlus, U.S. National Library of Medicine
  2. Healthy Habits: Antibiotic Do's and Don'ts. Centers for Disease Control and Prevention (CDC)
  3. About Sepsis. Centers for Disease Control and Prevention (CDC)
  4. About Handwashing. Centers for Disease Control and Prevention (CDC)
  5. Antimicrobial Resistance Threats Reports. Centers for Disease Control and Prevention (CDC)
  6. Bacterial Infections. MedlinePlus, U.S. National Library of Medicine
  7. Viral Infections. MedlinePlus, U.S. National Library of Medicine
  8. Fungal Infections. MedlinePlus, U.S. National Library of Medicine
  9. Parasitic Diseases. MedlinePlus, U.S. National Library of Medicine
  10. Fever. MedlinePlus Medical Encyclopedia, U.S. National Library of Medicine
  11. Immune response. MedlinePlus Medical Encyclopedia, U.S. National Library of Medicine

Topics

Related articles