Hello dear, I understand your concern.
Iam sorry for your condition.
In my opinion there are various reasons for
miscarriage like:-
1)Genetic anamolies.
2)Infections like Malaria,
TORCH infection,CMV etc.
3)Hormonal abnormalities like thyroid abnormalities,diabetes,
progesterone insufficiency etc.
4)Uterine abnormalities.
So the fever can also be the cause for miscarriage.But the cause of fever should be found.
And thyroid if it is under control does not lead to complications like miscarriage.
Evaluation for TORCH and CMV might be helpful.
Don't worry.Once the cause is treated it might not get repeated in further
pregnancy.
Relax.I suggest you to plan the next pregnancy after a gap of 3 months.
Start taking
folic acid supplements from one month before planning the pregnancy.
Nothing to worry.
Hope this helps.
Best regards....Dr.Srilatha