Duplicate content is an SEO nightmare. It can kill your rankings in Google if not handled correctly. It’s always better to avoid it. If you have to deal with it then you have two options: either use no index, follow no-cache meta tags, or 301 redirects. Both methods work, but the latter is better. But using no index, follow, nocache tags is the best way to save time and the crawl budget. Don’t forget to update your XML sitemap after you have implemented the solution.