Follow the guidelines provided by search engines for hacked sites, take immediate steps to secure your website, remove malicious content, and submit a reconsideration request once the issue has been resolved.