When traveling in tropical countries where poor sanitation exists, drink purified or boiled water and do not eat uncooked vegetables or unpeeled fruit. Public health measures include water purification, water chlorination, and sewage treatment programs.
Safer sex measures, such as the use of condoms and dental dams for oral or anal contact, may help prevent infection.