Amniocentesis is a prenatal test that helps you learn if your baby has genetic problems. Here's what you need to know about this test.