
The way you get music, videos, movies, ringtones, other applications, your address book, calenders, phones, etc, into your iPhone is through Apple's free software called iTunes (you must have versions 8.2 or higher to work with your iPhone 3GS) for Mac and PC. Think of iTunes as the gateway between your computer and your iPhone.
Mac: iTunes comes preinstalled, so you've already got it (just make sure you have the latest version by launching iTunes, and then going under the iTunes menu and choosing check for updates). just launch iTunes (if it doesn't launch automatically), and it uploads any music, videos, photos, etc, you have in iTunes right into your iPhone.
PC: You'll need to go to Apple[dot]com/ itunes and download the latest version of iTunes to manage and sort all your music, videos, movies, etc.(including anyting you buy from the iTunes Store), and you'll use it to choose what actually gets uploaded into your iPhone.

