Working with GlTranslate and glRotatef

Dear All,
I am beginner to Opengl.I am always confused with glRotatef and glTranslatef.Is their any specific way by which we assign translation and rotational coordinates to glTranslate and glRotatef before drawing.Whenever I am assiging coordinate it usually somewhere else.How to solve this problem

Thanks in advance

There’s nothing difficult about that. You should just look for a tutorial on :
I know there’s a lesson on this topic.