Your iPhone’s screen should rotate automatically between portrait and landscape modes, provided you’re using a compatible app. If not, swipe down from the top right corner to open Control Centre, then tap the Portrait Orientation Lock button - it looks like a padlock surrounded by a circular arrow.