Pregnancy after a miscarriage

I just had a miscarriage last month and had no intentions of getting pregnant again for another 3 months so I could heal. I am terrified that this is going to cause complications or cause me to miscarry again. I just need to know if everything will be okay I guess.