While a lens hood can provide protection from incidental light, or even act as a lens guard, I strongly advise removing the hood when conditions allow. Variable length lens can yield a useless shot with an annoying shadow. See examples attached.
Gear: Lumix FZ1000
Processing: Affinity Photo
Answer you own question by taking test shots, as I just did. Better to learn for yourself.