Retirement tax questions

I did enter it as reported.  It was all directly contributed to charities.  How do I get that deduction/