Broken links happen to anyone, but search engines don't like them, much worse: your users might click them and be very disappointed to be hit with an error message.
If an internal link is broken, you can just go fix it, but sometimes external links break too, which you can replace with links to the wayback machine or simply remove them if they've lost relevance.