Avoid adding water-based substances, including ice, to the hot oil to prevent splatter. Make sure the food is dry before adding it to the fryer, and use a deep fryer with a lid or a deep pot to contain any potential splatter.