"yell" is used when you are shouting:
"Don't yell at me!"
or when you make a loud noise, usually because you are hurt:
"He yelled out in pain."
-----
"exclaim" can be uses for speaking / a loud noise if you have emotion (horror, surprise, etc.)
-----
A "scream" is a loud high-pitched sound.
"The girl screamed when she was scared."