Exciting! You're one step away from completing the cube.
Note that both algorithms below are almost the same. They are only differ by the rotation direction of the Up face.
So which one?
If one face is complete, e.g. Green as in the example below, rotating one way (Ui) will align two edges and the other way one. Choose the one that aligns two faces.
If none of the faces is complete, use one of them randomly and then repeat Ua or Ub as needed.
Confused? A simpler way to look at this might be:
Hold the cube with the completed face at the back.
Do an 'F2' rotation
Rotate 'U' or 'Ui' so that the 'Front - Up' edge color will match the front face center.