Yes, the STD panel can be done during pregnancy. Some STDs can be passed on to the unborn baby, so testing is essential to rule out any risk of the infection.