O negative

Crystal
I just found out I am pregnant. I had a miscarriage this past December because I have o negative blood and did not get the rh positive shot. Does anyone know how long I should wait to get the shot?