When visitors follow links to or from your site they are expecting certain content to be available to them once they get to that page. Broken links are not only bad for user experience but can also be harmful to your site's loving relationship with Google, i.e. your SEO. Avoid linking out to broken content, and also avoid having pages on your site that are broken. Today is a day about love, so let's keep the link juice flowing!
When you link out to other sites from your own site, these links are called outbound links. Limiting, or eliminating all broken links pointing to external pages can be tricky, as you likely don't have control over the external content you are linking to and might not realize it has been removed or relocated on the external site.
When your site has outbound broken links, it's bad for your users and your SEO. Google's web crawlers, or "Googlebots" travel link to link and collect data about each page. Be sure to regularly audit your outbound links to insure you aren't pointing people (or bots) to broken pages.
If you have a very small site, this check might be possible to do manually with "Check My Links" chrome extension by manually reviewing each page of your site and performing checks individually for broken links. The tool will discover both internal (links to your own site) and external (links to other sites) broken links. Keep record of occurrences of broken links in a spreadsheet so you can go back and fix or remove links later.
If your site is large, it likely won't be possible to manually check each page for broken links. In this case, it is worthwhile to invest in a paid backlink checker such as Ahrefs, which can help to find broken links in bulk on your site. Ahrefs makes checking for outbound links incredibly easy: they have an "outgoing broken link" report that takes minutes to find, and export all of your sites broken links.
Finding the outbound links that are broken is only half of the job, now it's time to fix those links! This is the more time consuming step. Export your list from Ahrefs, and start chipping away at it. If it's been some time since you've audited your outbound links, or you have never audited them, then you will likely have a lot to correct.
Here's a quick checklist for what to look for when evaluating your broken links
A 404 error occurs when content on your site was either removed or relocated without proper redirects in place to lead visitors to the correct page.
To find 404 error pages on your own site that might be resulting in broken links you'll need a site crawler such as Screamingfrog.
A helpful tutorial:
While Google states that having 404 errors won't necessarily harm your SEO, it may be harming your user's experience which can result in poor performance such as higher bounce rates. Search engines are constantly trying to improve the user's experience, so a good rule of thumb is, if it's bad for the user it's likely not great for SEO either so prevent and fix your site's outbound and inbound broken links.