Simple 3D animation

Hi,
I need help with a simple 3D animation like showing a cube rotating.
Thanks
Sam