You need to use: https://www.google.com/webmasters/tools/home (you need a gmail account – since it’s Google)
Add your website to the platform and ask Google to scan your website for any more malware.
It might take 24-48 hours. Once Google is happy that there are no more issues, your website ratings will be restored.