By eating food that is cooked or handled by someone who has the infection, drinking water contaminated with feces infected by HAV, eating raw or undercooked shellfish, or by coming into close contact with someone who has the infection.