When the errors are not constant, WLS is used. It gives more weight to the observations with lower error variance.