How To Secure The Security Of The Webpage?

My website is getting spam reports. The server got attacked by viruses and malware. The data of our users is leaking. Why is my website, blacklisted? What can be the reason for all the problems? What is wrong in my coding? Now how should I get back my website to normal state?

