OK. I dealt with this when pulling the head: Put the belt back on, rotate it so the crank shows TDC. Then pull the belt off and rotate the cam gear(s) to TDC and slide the belt back on. Rotate the crank until the cam(s) lines up with TDC and check to make sure that both the crank and cam(s) are lined up.
Once it is set on there correctly, you need to tension it. Loosen the tensioner, rotate the cam(s) 360 degrees to TDC. Then rotate the cam(s) another 4 teeth and tighten the tensioner. Rotate the cam(s) another 360 degrees to make sure everything is tight and lined up correctly and you are done.
It is a pain in the ass when doing it your first time but be patient because if it is off a tooth or two, there could be some piston to valve contact and bent valves will result.