Either use a hydraulic press, an arbor press, or if you're using an all-aluminum cam gear, heat it to about 400 degrees and it will tap on easily with a hardwood block and a hammer. Don't forget to install the thrust plate and the spacer washer before you put the gear on! Also be sure the timing mark is facing the front.
Jerry