Just remember. "When in trouble, or in doubt, run in circles, scream and shout."
Actually, don't do that. Then people will tell you that *you* need help. That's just a saying my dad used to tell us to remember if we got lost or something, so that my mom would have to repeat the *real* thing we should do if we got lost one more time. Anyways, if you know the person well, then I'd say that you should use your discernment about whether or not it's the kind of person who accepts help when they're in bad situations. Some people just don't want help no matter what, that's just the way they are. Some people would be glad to have any help they can get. Seems like it tends to differ from person to person. But in the end, if it's someone you don't know, there's probably no harm in offering help. If they turn you down, so what? At least you offered and you wouldn't have to look back and think, "Gah! I should have offered to help that person!"