Constant changing IP Address


How do I deal with constant changing IP address? When I connect to a remote computer using ID and Password generated, after around 20mins the password is no more recognised. How do I deal with this? Is this due to constant changing of IP on the remote computer?

Anticipating a reply, thanks.