The down sydrome testing ?

My mom told me that they will be testing my baby if it is down syndrome some time but she doesnt remember when or what they do. Can anyone tell me the earliest you get it done and how they test you because hearing the rumour of a needle in the sromach from a friend scares the hell out of me!!! Im 8w 2d btway ♡