One way to make sure you get at least one image that has a good exposure is to use bracketing, which means that you take one exposure at the setting your camera’s light meter thinks is correct (0 on the light meter) and you take at least two more exposures, one at -1 stop and one at +1 stop.