How to fix an iPhone that has been wet?

I had my phone in my purse yesterday and my water bottle leaked, wetting my phone. It only wet the top part; my camera had water in it and my flash would not turn off. The screen was flashing different colors. My friend fixed it and it worked for about an hour, but when I came home it slowly shut off. I've had it in rice for about 20 hours and I'm plugging it up now, but nothing has happened for about 45 minutes. What can I do to fix it?

You are probably out of luck. Sorry.

Best thing to do is get rid of the iphone and get an Sony Xperia Z, Its waterproof.

You can't send it to apple and expect a free refurbished one. You shouldn't plug it in because if there's internal damage Apple can't do anything. Hope I helped.

At Apple's website, they show you where the water damage alert is on your phone. This is the page with the table showing you where to find it on Apple's website:
http://support.apple.com/.../kb/ht3302

The way to fix water damage is this way:

Step 1) Do not press any buttons after the damage has been done. Attempting to press any buttons may shift the moisture inside the unit caused by the water damage, which can result in it pooling under the buttons. This will render the iPhone inoperable.

Step 2) Lay the iPhone on a flat surface under a bright light. This will moisture near the iPhone's surface to evaporate through the tiny cracks in the iPhone's shell. The amount of time you need to leave the iPhone under the light will vary depending on how wet it is. Light to moderate damage should only need one to two hours of light, but more severe water damage will need up to five hours.

Step 3) Get a medium-sized bowl and fill it with uncooked rice. Although it may sound a little strange, placing the iPhone LCD face down in a bowl of rice will help pull out the moisture.

Step 4) Leave the iPhone in this bowl for 2 to 3 days. Do not disturb the rice or try to replace it during this time.

Step 5) Pull the iPhone out of its rice bowl and immediately plug it in to a computer. If you see a "do not disconnect" symbol, then your iPhone has survived the water damage. If not, then you will need to replace it.

P.S. Do not trust DigiExpress to fix your iPhone! There have terrible reviews!