Start by fixing all broken internal links on your website. Add proper 301 redirects when you've changed page permalinks or domain names. And notify other website owners if you find any broken external links that are outside of your control, or replace them with links to valid sites.