Rhogam shot

I’m 31 weeks .. when will i receive the rhogam shot since I am O negative blood type ?