If it's extremely loud, yes, so you should not keep standing around for 30 seconds to a minute, but cover your ears / walk away / put in earplugs quickly (i.e. within 10 seconds).
Of course there are sounds so loud that they can immediately cause damage, such as explosions, which you should...