Help Code for Car Wheel Spinning

hello,
Can anyone help me on how to design a car wheel or Rim to spin?