Where do you get apps for the iPhone?

From iTunes. Look for the App Store tab. If you jailbreak your iPhone you'll void your warranty and won't get any free service if anything happens to you iPhone. When you get pirated apps to put on a jailbroken iPhone you're stealing from the developers that created the app.