I was told by a tax professional that if I was without health insurance for a total of 3 months, 2 of those months are allowed at no penalty. How do I apply this?

I was also told that for the third month it's a small penalty. How does that factor in to your format?