Don???t share razors, needles, tooth brushes, or nail clippers.Practice safe sex.Get the hepatitis B vaccine, especially if you have contact with infected people, blood, or other body fluids, or have other risk factors for the disease.If you???re pregnant, have your blood tested for hepatitis B to protect your baby.