404’s appear when a page/post is missing so the URL has no where to go.
If the link the user is following is valind then you can try rebuilding permalinks by hitting Save in Dashboard > Settings > Permalink.
Other issues, there is a backlink to your site that is incorrect or it is not a human that is visiting your site but a Bot that is crawling an invalid link.