Do not sit in front of a window. Instead, sit facing a window to take a photo. There should be an even light on your face. It should not be very bright behind you.