A couple of times my husband would talk in his sleep in some other dream language. Sometimes he’d get loud, but it was more like loud talking than screaming. He’d open his eyes and sit up a minute or so before actually waking up.
The first time that happened I didn’t know what to do, and I was pretty freaked out by it. Then I started “talking” back to him and he’d wake up more calmly and be less bothered by it when he did wake up. Then I’d rub his back as he went back to sleep. It hasn’t happened in a long time, now.