Worried

Kaicie
So the other night I had sex and well after I had to use the restroom and discovered some blood in my underwear. I was told that I could loose the baby cause I have a different blood type. Should I go get the shot? I had a ultrasound the next day and he looked happy and healthy an I haven't had bleeding since.