The bare minimum is 24 hours; if at all possible, aim for 48 or more. Before then, don't press the power button to "try it out" or "see if it's fixed yet." Still, water can easily conduct electricity to areas of the circuit board where it is not intended if there is any inside.