Exposure to liquid is considered accidental damage. Out of warranty service for an iPhone 4S in the US is $199.00. If you purchased applecare plus, and have available incidents, you can get the phone replaced for $49.00. If neither of these options is suitable, you will need to wait until you can upgrade. Be sure to purchase AppleCare Plus (if it is available in your area), to provide protection for future devices.