To block websites on an iPhone, go to Settings > Screen Time > Content & Privacy Restrictions. Enable restrictions, then tap Content Restrictions > Web Content. Choose Limit Adult Websites or Allowed Websites Only, and add specific sites under “Never Allow” to block them effectively.