Retirement tax questions

@DianeW777 Thank you for the information. But does the same apply if the distribution is taken from contributions, not earnings? In most of the references I found, I see that if it is from contributions we can withdraw anytime tax free and penalty free.