If you want to balance flash and ambient light, you need to adjust both the flash exposure and the ambient exposure. The flash exposure is determined by the flash output, aperture, and ISO, while the ambient exposure is controlled by the shutter speed, aperture, and ISO. To achieve this balance in manual mode, set your camera and flash to manual mode, choose an ISO that is suitable for the lighting conditions and desired noise level, set the shutter speed to the maximum sync speed of your camera (usually 1/200 or 1/250 of a second), set the aperture to your desired depth of field and creative effect, and use the guide number formula or trial and error to set the flash output. After taking a test shot, check the histogram and LCD screen. If the flash is too bright or dark, adjust its output; if the ambient light is too bright or dark, adjust the shutter speed.