Atra du evarinya ono varda.
If it's my loved one or a close friend, I'd throw myself at him/her to get her out of danger, even if it means risking my life in doing so. I'd probably hesitate in doing so though. I don't think they'll be able to forgive themselves if they got saved and I died in the process. I'd rather much have both of us go instead of just one of us live, if you catch my drift.
If it's a random stranger, I'll see if there's anyone around, or if there are any devices or items that can help me help that person such as a long stick or a floating object to rescue a drowning person, or call the authorities for help. I can't risk myself for someone I don't even know..