If the rest of the exhaust is ok just replace the rotten section.
Have a look at Paddocks or similar parts supplier for it.
It's easy to replace the section, just a couple of bolts ( which will have rusted solid so cut them off ), buy new bolts, the parts supplier will have them...