One of two issues. The iPhone is not 100% dry or part of the charging circuit is now damaged. If you didn't let it dry out with the power was off for at least 24 hours, you can induced an electrical failure. Especially if you paniced and tried to turn the phone on right away before all the water was out of the phone.
So turn it off, let it dry out for another day and see what happens.