Blood types in pregnancy

So this is my second pregnancy but first that sticks further along. My hubby is O+, and I’m A-.. last time when I went through a miscarriage they gave the shot (I am not sure what it is called) but do I need it this pregnancy well?