Rare blood type

Sophie

I’m 19 weeks n I went to my first scan at 17 n they had told me I’ve got a rare blood n that I have to get injections incase the baby has a different type of blood n that will cause our bloods to attack each other but I’m injections aint untill I’m nearly 30 weeks should I worried that’s along time to wait