There are a few ways to block websites on your iPhone. One way is to use the built-in parental controls in iOS. To do this, go to Settings > General > Restrictions and enable the restrictions. Then, tap on Websites under the Allowed Content section and select the appropriate option.
Another way to block websites on your iPhone is to use a third-party app. There are a number of apps available that can help you block websites on your iPhone. Just search for “website blocker” in the App Store and you’ll find a variety of options.
Finally, you can also block websites by adding them to your iPhone’s blacklist. To do this, go to Settings > Safari and scroll down to the Block Pop-ups and Fraudulent Website Warning sections. Tap on the Add Website button under each section and enter the URL of the website you want to block.