To ensure everyone is in focus, it's important to use a narrow aperture. Choose a higher f-stop value, like f/8, rather than a low f-stop value, which would create a shallow depth of field. By using a narrower aperture, you'll increase the depth of field, allowing more of your subjects to remain in focus.