Foods can also become contaminated with bacteria when the food is being prepared. This can happen in a restaurant or home kitchen if:  Food is not kept hot enough or cold enough. Food preparers do not thoroughly wash their hands. Utensils, cutting boards, and other surfaces are not properly washed after touching raw foods.