A very important number for describing whether a disease can become an epidemic or not is R0, pronounced "R naught" or "R zero". It refers to how many people a person who has this disease is expected to infect on average if there are no people immune to the disease. It is an abbreviation for basic reproduction number.
If R0 > 1, a disease can become an epidemic. If R0 < 1, it cannot. Most commonly known diseases have R0 > 1. However, vaccines can be used to make enough people immune in a population to stop epidemics from happening. We can also use other measures to make the effective reproduction rate (Re, usually written Rt with t for time) lower than the basic reproduction rate (R0).
An example of a vaccine that works really well is the smallpox vaccine, which stopped smallpox virus from spreading so well that it no longer exists except in laboratories. Examples of making the effective reproduction rate lower than the basic reproduction rate are using condoms to stop sexually transmitted diseases from spreading or not getting close to others (physical distancing, often called social distancing) to stop respiratory diseases from spreading.
↑Centers for Disease Control and Prevention; World Health Organization (2001). "History and epidemiology of global smallpox eradication". Smallpox: disease, prevention, and intervention (training course) (Presentation). Atlanta: Centers for Disease Control and Prevention (published 2014-08-25). cdc:27929. Archived(PDF) from the original on 2017-03-17. Retrieved 2021-06-17.
↑"Playing the Numbers Game: R0". National Emerging Special Pathogen Training and Education Center. Archived from the original on 12 May 2020. Retrieved 27 December 2020. [...] while infections that require sexual contact like HIV have a lower R0 (2-5).