How long?

I just had my D&C yesterday. I'm wondering how long should i wait to try again? I've had 3 miscarriages & Dr has said he would refer my to a specialist now so they can run test on myself & my husband. Should i wait or should i try? I'm looking for opinions. What are the chances I'll have a 4th miscarriage?