Retirement tax questions

Hello Opus,

 

If I withdrew my entire account (contributions plus earning) do I report all of that to be taxed 20 percent withdraw fee. Or can earnings be withdrawn without a fee and only charged on the contributions made?