iPhoto is a paid app on the App Store
If you are asking about iPhoto for IOS (iPad, iPod, iPhone) it is also a paid app and you buy it from the iTunes Store, either on your iPad or in iTunes on your Mac and upload it.
Go to https://supportprofile.apple.com/ and register your iphone with Apple. Then they will become free in store.
Only if the iPhone was purchased and activated after Sept 1.
Retrieving data ...