My old iPhone 3GS took a swim in a pool with me. Phone lasted another year before the battery stopped holding a charge.
Take it apart (warranty is voided anyways by the water). Soak up any water you see. Set it in front of a fan or dehumidifier if you have one. Wait as long as possible before turning it on. I've heard 24hrs. I waited like 12.