Foreign tax credit

Starting this year, I am getting retirement payments from a foreign country. These payments are taxed in this country. How does it affect my US taxes?