3 hr GD test

I took my one hour gestational diabetes test yesterday. What will happen if I fail and have to do the 3 hour one? And what happens if I fail that one too?