hep b

Can you get hep b from contaminated food? I'm looking through vaccine posts on here and someone mentioned how they know two people who had ot happen to them (one died)... so im curious. If so, how does it happen?