Hepatitis B virus can only survive for about half an hour in a relatively dry environment outside the body. However, Hepatitis B is usually transmitted through blood, mother-to-child, and sexual contact, not through direct or indirect contact, so there is no need to worry about contracting Hepatitis B virus in a certain environment. Since the virus is killed in the outside world by many factors, such as light and ultraviolet rays, the hepatitis B virus can only survive for about half an hour in a relatively dry environment outside the body, and is not contagious to the human body. The following ways can reduce the risk of transmission of hepatitis B during the active phase: 1. Ensure that family members and close friends are tested and vaccinated against hepatitis B. 2. Use latex condoms every time you have sex. 3. Do not share razors, toothbrushes, and other items that may get blood on them. 4. Do not share needles or syringes. 5. Use bandages to cover wounds and open sores. 6. Wash blood stains with bleach mixed with water at a ratio of 1:9. People with hepatitis B can safely hug, kiss and share utensils. Coughing and sneezing do not transmit hepatitis B.