t depends on what church you are going to. But if you go to the roman catholic church, then the answer today is you can wear a hat for the church IF YOU WANT! In short, there is no written rule on hats anymore. There used to be a rule (there was a code in order from 1917 to 1983, saying women should wear hats or veil to the church), but now it's gone. And not wearing a hat to the church is not a sin.