What are your thoughts or experience with an amniocentesis

Pickle

I’m scheduled for an amniocentesis next week due. I’m so afraid for the baby. Wondering if it can cause early labor or miscarriage. Also what is the pain like during and after?