If your video is too dark, open it in the tool above and press Auto brighten. It reads a few frames, works out how dark the clip really is and lifts it by the right amount, so a candlelit dinner still looks candlelit rather than floodlit. Turn on Before and after to see the difference, then select Export video.
Before you change the file, it’s worth a ten-second check that the video is actually dark and not just your screen or player. Play it on a second device, or look at it with your display at normal brightness. If it only looks dark in one app, the cause may be an HDR clip shown on a non-HDR screen, covered below, and brightening the file is still the most reliable fix for sharing it.