Feeling very defeated

Today after my 3 hour glucose test , I found out I officially have gastrointestinal diabetes.. this is my 4 pregnancy 3rd baby and I have never failed one of these test and I am absolutely upset … anyone else fail and they put you on metformin…