IRA Implications

I have a traditional IRA that I have been contributing to with post-tax money. I now realize I should have been doing this with a Roth IRA but am worried about transferring the money to a Roth IRA because there will be tax implications on it. How do I avoid getting taxed twice on this money?