Advice on pregnancy issue.

Patient: Hello :DI had an abortion last year. My blood group is o negative. I didnt have the anti d injection after the abortion.Now I am 5 weeks pregnant. I want to know :(a) If my baby would be affected in any way because I did not have the injection then and(b) how soon should I have the anti d injection?thanks a lot

Doctor: