You should not have turned on power after you pulled up your 3DS from the water. Power supply to wet electric appliance causes electric shock, irreversible trouble and so on. I recommend you to send your 3DS to Nintendo support for repair asap.