How to claim 401K contributions pretax on tax returns

I have my own business and put some of my earning straight into a retirement account. Do I just subtract that from my total earnings when I put in my earnings or do I put it somewhere else on my return? It is suppose to be pretax