Wi-Fi on Iphone 4s changed the screen?

Hi so my screen cracked on my iPhone4S so i tried to change it and didn't work so i put my old screen back and now i can't connect to my Wi-Fi can so one please help me ill do anything for help

Ok so I know what's happened when you change and iPhone screen there are components inside that need to be reconnected to the logic board what's happened with you is that when you replace the screen you did not re attach the Wi-Fi antenna. So I suggest you either take it in to the apple store or a phone shop or you could even do it yourself just search up on YouTube how to reattach iPhone Wi-Fi antenna Hope This Helps