Your SG90 Servo Motor has the following colored wires. Check that you have connected the servo accordingly with UNO.


Figure-1:

Figure-2:
Test Sketch
Ever time you press K1 of Fig-2, the servo will move by 30 degrees.
Write codes and post here which will be corrected by the Forum Members if needed.