Deficiency Judgments

How does one avoid a deficiency judgment? Is my lender going to come after me with a potential deficiency judgment? Is a foreclosure deficiency judgment the same as a short sale deficiency judgment? What effect…