Pregnacy and Thyroid Condtion

Has anyone experienced with early pregnacy and having your thyroid produce way too much hormone. I just left my doctors office today and I'm a little depressed from the news that of I don't take the medication I'll probably result in a miscarriage... I'm currently 6w4d and this is my 1st pregnacy