If you have chosen the kneading route (which can be very therapeutic, after all) please be assured that there’s no right or wrong way of doing it. You can turn the mass of dough out onto the work surface, pin down an end with one hand, push the other end away from you with the heel of the other hand. Bring the dough back together and repeat. Another way, particularly for softer doughs, is to slap the dough onto the work surface so that one end sticks, pull the other end toward you, fold the dough over on itself, unstick from the work surface and repeat. Just one more of many methods is to take the dough in both hands in the air, stretch it, bring both ends back together and while holding them in one hand take what was the middle of the dough (but is now the other end) in the other and repeat.