Swipe your finger along the left edge of the screen. This will increase brightness if you swipe up and decrease if you swipe down.

On some (old) phones you have to switch off “automatic brightness” in device settings to enable this feature.