Please follow
https://www.irs.gov/uac/early-withdrawals-from-retirement-plans
.