Rear Window Metal Moulding

Any suggestions how to replace rear window metal moulding? Mine is rotten in the middle section, on the bottom by the trunk.