You want to add a public or secret key to your keyring.
If the public key is in the file keyfile:
$ gpg --import keyfile
If the secret key is in the file keyfile:
$ gpg --import --allow-secret-key-import keyfile
Importing the secret key implicitly imports the public key as well, since the public key is derivable from the secret one.