It is not always necessary to cover your head when visiting religious sites in Italy, but it is recommended to dress modestly and cover your shoulders and knees.