Moderators don't have time to deal with dead-link posts, so don't flag for mod attention. You can do everything that's useful by editing, unless it was a link-only answer and there's no copy anywhere else. In which case flag it as not-an-answer, I think.
Look for an archived copy on the Wayback machine (https://archive.org/web/), or an updated link. Wayback-machine links load slower (so are less nice for future readers), but are more future-proof.
If there's no new or archived copy you can find, it depends how essential the link was to the post. If it was just further reading about something, you should maybe just remove it as long as the post still stands on its own.
If it was fairly important, you should edit the dead link into code-formatting or something (so it's not clickable), and leave a note explaining that it's dead or spammy now. Maybe some future editor knows an equivalent resource to the one that is now gone.
Throwing out information by deleting links just because you're too busy to generate valid archive.org links is a bad idea. Only delete them if you did check and there's no archive.
Unless they're not pointing to actively dangerous websites (not the usual ads from expired domains), just leave it alone if you're not going to take the time to do it right. (leave a comment that the link is dead, maybe someone else will fix.)
If they are actively dangerous links, then take the extra time to properly Wayback it. Or if you really must move on but don't want to leave it, edit it to put the URL in code formatting
so it's not clickable, with a note that it's now malicious.