If none of the pieces are in the right place rotate the top until at least one edge is in the correct place.
(refer to the first image to see how the pieces are swapped.)
Some times when you do the move it still doesn't work. Here are some positions that may require a different way of executing the move. Here are the positions.
Do the move with the right one of the two solved pieces to the left of you. After you do the move turn the top clockwise. (refer to second image)
First do the move with the front as an unsolved side. Then turn the top 2 times. Next turn the whole cube clockwise then do the move again. Then finally turn the top clockwise. (refer to third image)
Top: 2 Times