altenaters is smoking after i replaced the starter any tips on 2005 Hyundai Sonata

my car would not start we tried to jump it but its a new battery i replaced the starter it started right up but after a sec.or two it starts to smoke and smell like wires are burning it looks like its comming from the altenater i cant figure it out any tips

Asked by for the 2005 Hyundai Sonata
you have wires either on wrong or up against something metal that is causing a short. hope you have not damaged any computers. they hate voltage surges like that.