Rh-, O-,& Rhogam shot... has this affect my Ttc?

Amanda
I'm O- ,with my first child(he is 12 now) I had to get the Rhogam shot. I've been trying to conceive for 4 years does this have any effect on not getting the bfp I've been working so hard for???