assembly of the cylinder head.

Hello dear forum writer, I’m completely new here and I already had an important question! and that’s when I just set up a ford escort here where the engine was fixed! so I had to take off the cylinder head and look and find out that water was in the combustion rooms! yesterday I got the engine free again for luck and now it’s time to build it up again! and there’s my question: if I put the cylinder head back on it how do I have to do that with the tooth strap that which comes back to it exactly as before that the camshaft with the valves will be properly controlled again??? because I think if I make a mistake now the motor won’t stand it, will it? so I hope you can help me! how do I have to do this that the camshaft is properly controlled again? love greetings josef