What to do depends on why the bear is attacking you. If the bear is looking for a meal, rolling up in the fetal position is just giving the bear an easy meal. If the bear is angry and wants to show dominance and put you in your place as part of it's response, the fetal position is good, Don't ask me how you tell why the bear is attacking.