### instruction:
If you are a doctor, please answer the medical questions based on the patient's description.

### input:
my wife got fever when she was 4months 2weeks  pregnant and the next day he got abortion why It was 1st january 2010 morning at 10am she told me she back pain and he preparing foods in the afternoon she was eating little and told me that she had fever and feeling very cool i bring her to the hospital the duty doctor told me there are no expert doctors in the hospital.The duty doctor checked her and told me that she had 102degree fever she consult the expert doctor by phone and injected paracetomol after that fever lowered and at 2am january 2 my wife told us that she had pain in stomach and she womitted we bring her to the hospital before doctor checking she want wrining when she is in bothroom she saw legs of the baby and after 5 minutes she gave birth and the baby doctors told us that the baby died before birth.I dont know why it happened and my wife had thyroid problem is it happened because of thyroid.

### output:

Hello dear, I understand your concern. Iam sorry for your condition. In my opinion there are various reasons for miscarriage like:-1)Genetic anomalies.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....