Deductions & credits

I have kinda the question.  I am retired and my premiums are deducted out of my pension, but have a small business.  Can I deduct the amount of my premiums up to where my business does not show a loss?  The other caveat is that I was a Public Safety Officer and I get a credit by them paying my health insurance through my pension.