I have a traditional ira can I take it out to purchase a new home if so will I be penalized of any taxes

I have a traditional ira can I take it out to purchase a new home if so will I be penalized of any taxes