How can Schedule K loss offset Schedule C income?

I have a Schedule C income and a separate (but same business) Schedule K partnership loss on running the office for the business. How can I get the loss to offset Schedule C income, thus reducing SS tax I have to pay?