Usually, no. Most computer hacks are designed to reconnect when the IP address changes. If your computer has been compromised, you'll need a thorough scan done with current anti-viral and anti-spyware software. In some cases, repair may not be possible, depending on what malware you've picked up. You may need to reformat your hard drive.