If your iPhone is exposed to liquid, remove all the cables and do not charge it until it has completely dried. Using accessories or charging your iPhone while wet could damage it.