You need to make the question clearer.
Are you trying to connect from the phone to the computer though the internet like a remote access app? Or trying to use the phone as a modem on the computer? If the latter, read the manual or contact your phone service provider and find out how to setup tethering. Not all phones and carriers have that option though.