When you have a selection and use contract or expand the selection, and you think that the edges are all wrong you see what the mask look like if you press the refine edge or the quick mask button.
Then you can adjust the selection and have a preview of what you see.
-Angel