Just found out I'm RH negative

Samantha
I have 1 son who is 7 years old, I never knew I was RH negative & wasn't with him. I just had a miscarriage due too this blood type. I received the rhogam shot today. Will I be ok now too try again once the bleeding stops?