How do i apply an acceleration to a rotary motor in solidworks motion analysis?

Can someone explain to me how to add an acceleration to a rotary motor in Solidworks Motion Analysis. Screenshots of an example would be great aswell. Currently this is all i have and when hit calculate it just sits there. Thank you for the help in advance.

SolidworksSimulation