As long as you were eligible to make the Roth IRA contribution based on your income and filing status, you would first enter the Roth IRA contribution information and then enter the Form 1099-R to report the distribution from the account.
The end result should be that you will pay income tax and an early distribution penalty on the $500 that exceeded your original contribution amount. It is not reported as a capital gain.
Go to Deductions and Credits > Retirement and Investments > Traditional and Roth IRA Contributions and click Start or Update to enter the Roth IRA contribution. Pay close attention to the information on the screen in case your income prevents you from being able to make the contribution. TurboTax will give advice about what to do next.
Go to Wages and Income > Retirement Plans and Social Security > IRA, 401(k), Pension Plan Withdrawals (Form 1099-R) and click Start or Update to get started with entering the Form 1099-R reporting the distribution.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"