As with all other illnesses spread by the faecal oral route, precautionary measures should be taken to avoid consumption of potentially contaminated drinks and drinking water and to ensure food is uncontaminated or cooked thoroughly.
Know more: https://www.travel-doc.com/service/typhoid/