For iPhones with a notch:
Press the Side button and the Volume Up button simultaneously to take a screenshot.
For iPhones with a Home button:
Press the Side button and the Home button simultaneously to take a screenshot.

Press the Side button and the Volume Up button simultaneously to take a screenshot.
Press the Side button and the Home button simultaneously to take a screenshot.