Rhogam frequency?

Cecilia • 💙 Mommy to Liam Alexander 💙

I miscarried a little over a week ago and while I was in the ER, I was given a Rhogam shot (I'm A- blood type). They explained very briefly what the shot was for, but I didn't think to ask if I would need it again for future pregnancies (and if so, when/how often).

So once my cycles regulate and we try again, do I need to get another one, or...? How does that work, exactly?