Negative blood type - pregnancy issues?


Am I the only person that didn’t know that your blood type can play a factor into being able to have a viable pregnancy? I’m not going to pretend to know all of the facts, but there’s a shot that can help that my dr. has me setup to get tomorrow. Essentially when you have a different blood type than your baby, your body creates antibodies that attack it. I feel like this is something I should have I just living under a rock?