Retirement tax questions

Thanks....  What if in my 1st year the pension pays out more than the total that I put in.    Can I deduct all of my contributions in the 1st year or do I need to spread it out?