need help with dist. asap

hey everyone i havent run my car in a while, and a while back i bought a new distributor gear ,so today i went to pull my dist. out, and the gear wasnt attached to the shaft as i thought it would be and was still in my motor. also the new gear wont fit on the shaft and the end of the shaft turns into a flat piece i have no idea wats goin on lol