Smallpox is spread by close contact with the sores or respiratory droplets of an infected person. You are infectious until last scab is separated from the skin.
Treatments: The smallpox vaccine is the only known way to prevent smallpox in an exposed person. If given within 4 days of viral exposure, it can lower the severity of the symptoms, and provide protection.