Sure you can get pregnant again and will succeed as well. You will need to undergo tests to find the cause for the miscarriage like a blood sugar test, TORCH test, VDRL, and urine culture. Most cases are due to a fetal defect. You can also take folic acid supplement for three months before planning a conception again. After you conceive, you will need to take rest and avoid heavy work and sex till three to four months.