COVID question

Those that are pregnant when you go in to hospital to deliver your baby. Are they testing you for Covid? If you test positive what happens after you give birth?