Retirement tax questions

It is confusing since I put $2800 in my IRA and now have to pay taxes on it. Then when I take it out, I have to pay taxes on it again.