Can anyone tell me how downs syndrome test is done? Is it a simple blood test of the mother?

My doc wants to do a downs syndrome test. Does anyone know the process or if it's mandatory?if so in which week is it done?