Changing IP without compensating security

Sometimes for security reasons, i have to change the ip address. But i think every software can not change the IP perfectly, the original IP can be easily detected. Again some software makes you invisible but they can be a threat. What is the best way to change your IP with maintaining your security?
