You can either edit tnsnames.ora and sqlnet.ora file to put connection information such as service_name and host for your database, if you are not familiar with that Net Configuration Manager is the way to create one using GUI.

Please read Oracle Networking documentation at http://tahiti.oracle.com