If you use manual coding theme for your site/blog then you need to do it manually.
If you use WordPress CMS then you can use Broken Link Checker Plugin for Free that will help to find broken link automatically as well as edit or remove broken link easily and quickly.