I accidentally contributed $8000 I am paying taxes on into a pretax IRA. How do I remove those funds

I received a long term disability settlement and contributed $8000 I thought I would be able to deduct from my taxes into a qualified Ira. It turns out I can not deduct the $8000 pretax - how do I remove the $8000 from my IRA