Where can you buy iPhone apps?

On the App Store. It should be installed on your iphone right after you buy it. The iphone should be at least 3G or later.