Smallpox can be prevented through the use of the smallpox vaccine. The smallpox vaccine is the only way to prevent smallpox. The vaccine helps the body develop immunity to smallpox. It was successfully used to eradicate smallpox from the human population.