Fixing ORA-12154: TNS:could not resolve the connect identifier specified.

What are the things I should check in order to resolve the issue?