Hi, Welcome to HCM
You are suffering from hypothyroidism
, both this conditions affect the pregancy and its outcome.
First of all consult your doctor and do total workup again. You should be get treated by physician and gynecologist both.
Dont take tablets by your own , as dosage schedule and its follow up is very very necessary to get normal blood level of hormones. Dont get anxious as it will affect the hormonal
level, be calm and cool, this is totally curable.