If you can avoid touching those earnings until age 59 1/2, they come out tax-free (assuming the account has been open for five tax-years).
I would use any traditional IRA first because those will be taxed anyway.