Use adequate and even lighting both on the subject and in the background.  Be conscious of the position of the sun and don’t position your subject in front of a bright window.