The pregnancy tests you get at the drugstore work 99 out of 100 times. They're just as accurate as a urine pregnancy test that you'd get at a doctor's office. Pregnancy tests work by checking your urine (pee) for a hormone called human chorionic gonadotropin (HCG).