Many things can cause a miscarriage, and you cannot avoid all of them. However, you can keep your stress levels low, avoid smoke or secondhand smoke, and follow your doctor's orders. Keeping your weight within normal limits, eating healthy, sleeping right, and exercising will go a long way toward cutting your risks.