How do you not get typhoid fever?

Can you answer this question?