Retirement tax questions

Can I recover my contributions earlier than 3 years or do I have to divide the total by 3 and only recover 1/3 per year?