should someone with an ear infection stay away from loud music?

like at parties and such?