What object ?
Are you using OpenGL ? DirectX ?
Anyway, it's all more or less the same, you apply a transformation matrix to the object coordinates and let the system magically redraw the object with the transformation applied, or better, send the transformation matrix to the graphic system (with openGL, glPushMatrix, glMultMatrix,or wwith DirectX, D3DXMatrixTranslation, ... (but I'm no export on D3D) ) and send the vertices to the graphic system and the transformation will be done auto-magically.
If you do it manually, then you will have to do the transformation (matrix multiplcation, ...) in code, and there are tons and tons of example out there.
See
http://en.wikipedia.org/wiki/Transformation_matrix[
^] for maths of tranformation matrix.