help!!!!

Im new to this whole atv thing and i picked one up from a trade. He informed me the final drive gear needed replaced and gave me The used parts. I With help from a mechanic help assemble and yesterday as i was riding i heard a horrible clatter and it stopped accelerating. All it did was roll. It remained running but wouldnt go into any gear. What could those be and please help!!!