Shooting towards a light source, especially a bright one, means you have to be careful not to overexpose your image. An overexposed image will have very bright areas that overwhelm your subject and possibly ruin the picture.
Be sure you understand how to read your camera's built-in light meter. If the meter shows a very high reading (usually to the right, or around +2 on the meter), your picture is probably overexposed.
Using a faster shutter speed will reduce the exposure time, thereby limiting light on your camera's sensor, keeping overexposure problems at bay.
Most cameras also have an exposure compensation function that let you increase or decrease exposure. Usually this feature is designated by a +/- symbol. Depending on your camera model, exposure compensation may work by altering the aperture, shutter speed, or both.