Reduce the permission of a file in linux

psql -h 127.0.0.1 throwing this error :
.pgpass has group or world access; permissions should be u=rw (0600) or less
How do I reduce the permissions currently it shows : -rwxrwxrwx