Rh negative blood type

Porshia
Hi, This is for the ladies with RH negative blood type here. Just want to ask when do you find out the blood type of the foetus? Which week? And if the baby's blood group is +ve , when do u get the first rhogum shot?