Dual exhaust system? Or single pipe with upstream and downstream cats? The difference matters.
If it's a dual exhaust, replace them both. Even if the other one is working, it's near failure anyway.
If it's a upstream - downstream system, odds are the front cat is bad, and the rear is ok. Replace the front, keep the rear.