How to Prevent a Miscarriage
To reduce your chances of having a miscarriage, get checked for STDs since they can increase your risk of miscarrying. You'll also want to keep any chronic conditions, such as thyroid disease, epilepsy, and lupus, in check to increase your chances of having a healthy pregnancy. One to two months before trying to conceive, start taking at least 600 mg of folic acid per day to reduce your chances of having a baby with birth defects. In addition to adding folic acid to your routine, limit your caffeine intake to 200 mg, of 2 cups of coffee, per day to keep your hormone levels balanced.
Get a STD check. Untreated sexually transmitted diseases can increase the risk of a miscarriage. Be sure to have your doctor check you for STDs such as gonorrhea, syphilis, HIV, and herpes, as these diseases may increase the risk of miscarriage. Know your vaccination history. Some diseases can increase your risk of miscarriage, though many of these diseases can be prevented through simple vaccinations. If you are unsure of your vaccination history, check your vaccination record. You may need to undergo blood testing to determine whether or not you received certain vaccinations as a child. It is best to get vaccinated before you plan to conceive, so check your record early. Understand that some chronic conditions may increase your risk of miscarriage. Thyroid disease, epilepsy, and lupus are thought to increase the risk of miscarriage, though it is entirely likely that you can still have a healthy baby if you have one of these diseases. Be sure to disclose your family disease history to your doctor. If there are any medical issues in your family history, your doctor will be able to do tests during your pregnancy to ensure you and your baby are healthy. Take at least 600 mg of folic acid per day. You should begin this dosage one to two months before you plan to conceive. Folic acid helps to reduce the chance that your baby will be born with birth defects. Limit your caffeine intake. While trying to get pregnant, do not drink more than two cups of coffee (200mg) per day. Caffeine is a drug that can affect your hormone levels and is not healthy in large quantities. Exercise lightly. It's very beneficial to you and your baby to get moderate exercise everyday, but avoid over-exerting yourself. Extreme exercise may increase your risk of miscarriage because it heightens your body temperature and reduces the blood flow available to the fetus. Avoid contact sports that might cause you to jolt or fall and potentially injure the baby. Avoid unpasteurized dairy products and raw meat. Infections caused by these products include listeria and toxoplasmosis, which can increase your risk of miscarriage. Although rare, these infections can be avoided by simply making sure that all of your meat is cooked (this means no raw sushi!) and that your dairy products are pasteurized. Refrain from using tobacco, alcohol, or illegal drugs. As with any pregnancy, drugs should be avoided completely while attempting to conceive and especially once you know you are pregnant. In addition to being extremely unhealthy for you and your baby, using these drugs can also increase your risk of miscarriage. Avoid radiation and poisons. Do not get x-rays of any kind during your pregnancy. Stay away from materials such as arsenic, lead, formaldehyde, benzene, and ethylene oxide, as these may harm your baby. Reduce your stress level. When you are stressed out, your body has a more difficult time fighting off sickness and keeping you healthy. Try to keep calm throughout your pregnancy by practicing any techniques that may help you relieve stress. For some this may be deep breathing, meditation, visualization, maintaining a yoga practice, or even painting or gardening. Again, limit your caffeine intake. Do not drink more than two cups of coffee per day or ingest more than about 200mg of caffeine per day. Explore the possibility of taking progesterone. A female sex hormone, progesterone causes secretory changes in the uterus lining that are necessary for a fertilized egg to thrive. Some miscarriages may be a result of inadequate progesterone secretion. During the first trimester of pregnancy, progesterone may help reduce the risk of miscarriage. Ask your doctor if progesterone is an appropriate option for you to consider. Consume organic vegetables and fruits daily. Avoid eating conventional produce that contains herbicides and pesticides that may negatively impact fertility. Choose organic, grass-fed, whole fat, and raw dairy products. Conventional dairy sources may contain hormones and antibiotics that can increase estrogen levels in the body and harm fertility. If dairy does not agree with your stomach or diet plans, you can avoid dairy altogether and opt for a nut-based milk. Do not drink soy milk. Eat cold water fish high in omega-3 fatty acids. In addition to being rich in protein and vitamin A, fish also contain healthy fatty acids that help increase hormone production, reduce inflammation, and ensure a regular menstrual cycle. Aim to eat wild salmon, cod, and halibut, but avoid farmed fish whenever possible, as farmed fish may contain antibiotics and food coloring. Do not eat large deep sea fish like ahi tuna, swordfish, and sea bass, as these fish may be high in mercury which can be harmful to the body. Eat only grass-fed, organic meat. Avoid consuming hormones and antibiotics that may increase estrogen levels by choosing to eat only grass-fed, organic meat. Protein is essential during your pregnancy, but be sure to avoid conventional meats. Additionally, if you are concerned about endometriosis, limit your consumption of red meat, as the two have been linked by scientific study. Make sure you only consume poultry that is marked as free range, cage free, or organic as well. Choose whole grains over processed grains. Whole grains are high in fiber and essential vitamins. Fiber is particularly important for your diet as it helps the body remove excess hormones and helps keep your blood sugar at a healthy level. Processed grains lack the nutrients necessary for a healthy pregnancy. Consume fiber with each meal. In addition to regulating hormone levels and blood sugar levels, fiber also promotes healthy digestion. Try to eat fibrous fruits, vegetables, dark greens, beans, and whole grains with each meal. Avoid eating soy unless it is fermented. Soy contains a compound that acts like a hormone in your body and thus it can disrupt your hormone balance. Try to avoid all soy products while pregnant or trying to become pregnant. Reduce your intake of refined sugars. Processed sugar found in bottled juices, popsicles, candy, packaged desserts, etc. can disrupt your blood sugar levels and weaken your immune system. Be sure to drink an adequate about of water. Women require about 2.2 liters (0.6 US gal) of water per day. If possible, avoid tap water that may contain traces of pesticides or unwanted minerals from agricultural runoff. 
Get a STD check. Know your vaccination history. Understand that some chronic conditions may increase your risk of miscarriage. Take at least 600 mg of folic acid per day. Limit your caffeine intake. Exercise lightly. Avoid unpasteurized dairy products and raw meat. Refrain from using tobacco, alcohol, or illegal drugs. Avoid radiation and poisons. Reduce your stress level. Again, limit your caffeine intake. Explore the possibility of taking progesterone. Consume organic vegetables and fruits daily. Choose organic, grass-fed, whole fat, and raw dairy products. Eat cold water fish high in omega-3 fatty acids. Eat only grass-fed, organic meat. Choose whole grains over processed grains. Consume fiber with each meal. Avoid eating soy unless it is fermented. Reduce your intake of refined sugars. Be sure to drink an adequate about of water. 