Must you decide to activate shields before entering a nebula or asteroid field?
You roll the shields after you roll the damage from a nebula or asteroid field

Source: Rule book, page 7, Shields

http://www.faroffgames.com/images/games/xia-legends-of-a-drift-system/Xia_Rulebook.pdf