Right, which program? There has to be more to the story? (we need to know more about what you are doing?)
If this is a result of resizing the image, you have to make sure the "Constrain Proportions" or "Maintain Proportions" or "Preserve Aspect Ratio" is On (Whatever it is named in the Resize box).