How can a hepatitis patient have children with affecting the unborn child?

How can a hepatitis patient have children with affecting the unborn child?

hepatitis is not a genetic disease the unborn baby can not be affected