Is praying with your head covered really a sin?

What about the Christian’s that use zucchettos and kippahs? Is that the same thing, what does Paul mean here? I honestly wonder because it is confusing