Salmonella Typhi infection can be avoided by avoiding exposed and contaminated foods and beverages. Getting vaccinated at the right time can also assist you from becoming infected with Salmonella Typhi