Pregnant and covid

Who here has has Covid while pregnant? My mom is saying I could lose the baby if I get Covid while pregnant. My obgyn said to get the vaccine in third trimester. Any advice or opinions?