Web restoration mistake - how to undo it?!

Hi, I made a mistake when my web got hacked. I had to restore it but when I replaced the web.config, I realised that I’ve made a big mistake since I’m not able to reach my site anymore. Could you please give me suggestions on a solution?

hi , please go to your web.config file check for database name username and password … and replace them with the old one … it will fix the problem