Pregnant women should not eat spices such as star anise, because star anise is a hot spice that can easily cause miscarriage, so it is best not to eat it indiscriminately. In addition, you should not eat cold foods during pregnancy, such as crabs, which can also cause miscarriage. It is best to pay attention to rest during pregnancy, strengthen diet and nutrition, and suggest regular ultrasound examinations to see the development of the baby. If there is an aura of miscarriage, it is best to take bed rest in time, and ultrasound is also recommended to see if the fetus is developing normally. If it is normal, you can use progesterone to keep the fetus under the guidance of doctor. However, if the fetus does not have a fetal heart, it is considered to be underdeveloped and there is no need to keep the fetus, so you can go to the hospital and choose medical abortion or artificial abortion under the guidance of the doctor to avoid the miscarriage.