Rotation and speed

hi, sorry about this but how can i rotate an object using AS and also control the speed it rotats at ? thx alot :smiley: