Type o negative blood during pregnancy

Patient: I have found out I am type o negative and have to recieve a shot between 20 and 26 weeks and I am wondering what the shot is and why i have to recieve it?

Doctor: