As Andy says, it's a consideration when taking a photo. For professional purposes, various lens effects are used deliberately. You see these effects daily in print, on television, and on your computer, without realizing that a good photographer or art director planned things that way. For amateur purposes, the various lens effects are something that can cause unintended consequences. The best advice I can give you is to shoot multiple photos of your desired scene whenever possible, previewing them in your screen (assuming a digital camera) and adjusting as necessary. Then, of course, practice and more practice will help you predict what lens effects you will have with various zooms and wide angle settings, combined with distance from subject. It really can't be explained in detail in a thread such as this. People study for entire semesters learning to use lenses in journalism and art schools. But, digits can be thrown away at no cost, so just take your camera out and practice repeatedly at every lens setting and distance you can imagine. Shoot EVERYTHING in multiple ways. Keep notes. Then note the results. Pretty soon, you'll be able to get the effect you want predictably...and without much effort.