Step 1: Only download apps from the official App Store, never unknown sources.
Step 2: Keep iPhone software updated by installing latest iOS versions.
Step 3: Tap links from trusted sources only, not random links.
Step 4: Use a reputable antivirus app from the App Store for extra security.
Step 5: Back up iPhone regularly in case you need to erase and restore it.