How to get the sound back on my iPhone 3G S?

The sound stopped working, I can't reset it because I don't want to loose all of my pictures etc, is there anything I can do to get the sound back? I've tried rebooting it but still nothing, tried closing all the apps, tried switching it off and on and still nothing, is there anything I can do?

Call the company where you got it from (Verizon sprint ya ya ) And they can probably fix it or give you a brand new phone if you have insurance on the phone