As a tourist you don't have to cover your head, unless entering a mosque. It would be best to carry a pocket head scarf wherever you go and slip it on whenever it's required. If you're blonde, wearing a headscarf will help you avoid any unwanted attention.