The correct answer would be 'loudly'
If you use 'loud' in this sentence, it would serve as an adjective rather than an adverb.
Remember, loud is only used as an adverb when in phrases, or in informal language.
Like, "The teacher called his name out loud"