It is done by going into Settings Applications > General > Software update. Check that your iPhone version is up-to date with the most recent software and that it has sufficient space to download it.