I go for my sugar test in the am

Lacey • Married:) one miscarriage and one rainbow baby! Took us 3 years of trying Jacob 5-18-16 my whole world
Soo this sucks :( not looking forward to drinking it. How does this test work I just drink the drink then what?