Access the 404 page in the Pages Panel and customize with your branding.
Use Google Search Console, sitemaps, internal links, and backlinks to rank.